Skip to content
Scrappa Get API key
TocToc API 1 credit/request

TocToc Agencies API

GET https://scrappa.co/api/toctoc/agencies

TocToc Agencies API lists developers or brokers from the TocToc company catalog: id, name, type, logo and profile url. The catalog returns 24 companies per call, and the fields total, per_page and last_page show the size of the full catalog. Paging through the catalog is not offered. Use the id with the agency route, or the exact name with the agency filter of the search route. Failed requests are not billed.

TocToc Agencies API 1 credit/request

Endpoint

Request preview
GET
https://scrappa.co/api/toctoc/agencies
Auth header
x-api-key
Cost
1 credit/request
type = example
Response preview
200 OK
{
    "data": {
        "items": [
            {
                "id": "6a8d08a7802dbc64ca4d94e7",
                "url": "https://www.toctoc.com/empresas/corredoras/catalogo/propiedades/re-max-platino/6a8d08a7802dbc64ca4d94e7",
                "logo": null,
                "name": "RE/MAX Platino",
                "type": "broker"
            },
            {
                "id": "6a50d1921e9eb1bc8cf93aa2",
                "url": "https://www.toctoc.com/empresas/corredoras/catalogo/propiedades/1-house/6a50d1921e9eb1bc8cf93aa2",
                "logo": "https://d1cfu8v5n1wsm.cloudfront.net/toctoc/logos/corredora/29184/0212202514274829184.png",
...

Parameters

Start with the required fields, then add optional filters only when your use case needs them.

Runnable path

1 required parameter needed before sending a request.

type string Required

developer or broker.

Example value example

Response Schema

Example response fields are illustrative; inspect the JSON before integrating.

Example response fields

Scan these fields before integrating.

data meta success
JSON Response
200 OK
{
    "data": {
        "items": [
            {
                "id": "6a8d08a7802dbc64ca4d94e7",
                "url": "https://www.toctoc.com/empresas/corredoras/catalogo/propiedades/re-max-platino/6a8d08a7802dbc64ca4d94e7",
                "logo": null,
                "name": "RE/MAX Platino",
                "type": "broker"
            },
            {
                "id": "6a50d1921e9eb1bc8cf93aa2",
                "url": "https://www.toctoc.com/empresas/corredoras/catalogo/propiedades/1-house/6a50d1921e9eb1bc8cf93aa2",
                "logo": "https://d1cfu8v5n1wsm.cloudfront.net/toctoc/logos/corredora/29184/0212202514274829184.png",
                "name": "1 House",
                "type": "broker"
            },
            {
                "id": "6a50d19158894110a5f933f9",
                "url": "https://www.toctoc.com/empresas/corredoras/catalogo/propiedades/1111/6a50d19158894110a5f933f9",
                "logo": null,
                "name": "1111",
                "type": "broker"
            }
        ],
        "total": 3703,
        "per_page": 24,
        "last_page": 155
    },
    "meta": {
        "billable": true,
        "endpoint_family": "agencies"
    },
    "success": true
}

Errors

Handle these documented responses before retrying or showing customer-facing failures.

422

Validation Error

A parameter is missing or invalid. This response is not billed.

{
    "errors": {
        "type": [
            "The selected type is invalid."
        ]
    },
    "message": "The request validation failed"
}
503

Upstream Unavailable

TocToc could not be reached or returned data that does not match the request. This response is not billed and can be retried.

{
    "meta": {
        "billable": false,
        "retryable": true,
        "endpoint_family": "agencies"
    },
    "error": {
        "code": "UPSTREAM_UNAVAILABLE",
        "message": "TocToc could not be reached. Please retry shortly."
    },
    "success": false
}

Generate Code with AI

Copy a ready-made prompt with all the endpoint details, parameters, and example responses. Paste it into ChatGPT, Claude, or any AI assistant to instantly generate working code.

Try It Live

Test this endpoint in our interactive playground with real data.