# Ciencuadras Agency API Documentation

<p><strong>Ciencuadras Agency API</strong> returns an agency, builder or independent advertiser and a page of its listings. The agency block holds the name, type and the contact details that Ciencuadras shows on the public listings of this advertiser, and the total number of listings. No separate profile with more detail exists upstream. Find the id in the <code>advisor.id</code> field of a search item. The listings use the same item shape as the search route. An id without listings returns a not found error. Failed requests are not billed.</p>

- **Documentation:** [https://scrappa.co/docs/ciencuadras-api/ciencuadras_agency](https://scrappa.co/docs/ciencuadras-api/ciencuadras_agency)
- **API group:** Ciencuadras API
- **Endpoint:** `GET https://scrappa.co/api/ciencuadras/agency`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `agency_id` | integer | Yes | Advertiser id from the advisor.id field of a search item. |
| `order` | string | No | asc or desc by publication date. Default desc. |
| `page` | integer | No | One-based page number. |
| `per_page` | integer | No | Listings per page, 1 to 100. Default 20. |

## Example response

```json
{
    "data": {
        "items": [
            {
                "id": 3912325,
                "url": "/inmueble/apartamento-en-venta-en-veraguas-bogota-3912325",
                "code": "915153-3912325",
                "image": "https://www-img-cc.s3.amazonaws.com/inmuebles/images/3912325/adaa_179203949112_plana.png",
                "price": 250000000,
                "address": "Calle 4B # 34A - 85",
                "advisor": {
                    "id": 915153,
                    "name": "BYH INMOBILIARIA",
                    "type": "Agente independiente",
                    "email": "advisor@example.com",
                    "phone": "3000000000",
                    "whatsapp": "3000000000"
                },
                "garages": 0,
                "has_360": false,
                "project": null,
                "stratum": 3,
                "bedrooms": 2,
                "currency": "COP",
                "is_offer": false,
                "location": {
                    "city": "Bogot\u00e1",
                    "latitude": 4.609115,
                    "locality": "Puente Aranda",
                    "longitude": -74.104475,
                    "department": "Cundinamarca",
                    "neighborhood": "VERAGUAS",
                    "locality_group": "Puente Aranda",
                    "neighborhood_group": "VERAGUAS"
                },
                "amenities": {
                    "gym": false,
                    "elevator": false,
                    "private_pool": false,
                    "communal_pool": false
                },
                "antiquity": "3",
                "area_card": 34,
                "bathrooms": 1,
                "area_built": 34,
                "created_at": "2026-10-14T23:36:18.000Z",
                "offer_type": "sale",
                "rent_price": null,
                "sale_price": 250000000,
                "admin_value": 180000,
                "area_private": 34,
                "fair_housing": false,
                "canonical_url": "https://www.ciencuadras.com/inmueble/apartamento-en-venta-en-veraguas-bogota-3912325",
                "property_type": "Apartamento",
                "rental_policy": false,
                "has_matterport": false,
                "price_is_placeholder": false,
                "market_reference_price": null
            }
        ],
        "agency": {
            "id": 915153,
            "name": "BYH INMOBILIARIA",
            "type": "Agente independiente",
            "email": "advisor@example.com",
            "phone": "3000000000",
            "whatsapp": "3000000000",
            "total_listings": 14
        },
        "pagination": {
            "page": 1,
            "total": 14,
            "has_next": true,
            "per_page": 1,
            "total_pages": 14,
            "results_capped": false
        },
        "excluded_by_filters": 0
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agency"
    },
    "success": true
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 422 | Validation Error | A parameter is missing or invalid. This response is not billable. |
| 404 | Not Found | The requested record does not exist. This response is not billable. |
| 503 | Upstream Unavailable | Ciencuadras could not be reached or returned data that does not match the request. This response is not billable and is retryable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
