# Argenprop Agencies

Searches the advertisers directory. Agency contact phone numbers are removed from the response.

- **Documentation:** [https://scrappa.co/docs/argenprop-api/argenprop_agencies](https://scrappa.co/docs/argenprop-api/argenprop_agencies)
- **API group:** Argenprop API
- **Endpoint:** `GET https://scrappa.co/api/argenprop/agencies`

## 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 |
| --- | --- | --- | --- |
| `query` | string | No | Free-text agency name. |
| `page` | integer | No | 1-based page number, 1 to 30000. `start` is (page - 1) x rows, so the deepest offset this reaches is (30000 - 1) x rows — beyond the entire measured inventory (556,435 listings, 244,746 agencies) at the default rows of 20. That inventory is not reachable at every rows value: past the ceiling with rows still on the table, matches remain behind the client, and the response then says so under next.page_ceiling_reached. A page beyond the ceiling is refused with a 422 rather than sent upstream. |
| `rows` | integer | No | Agencies per page, 1 to 50. Default 20. |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/argenprop/agencies?query=inmobiliaria&rows=5"
```

## Example response

```json
{
    "success": true,
    "data": {
        "results": [],
        "total_results": 0,
        "page": 1,
        "page_size": 5
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The requested listing or agency was not found. This response is not billable. |
| 422 | Validation Error | A public parameter, or a filter value outside the published catalog, is invalid. No upstream request is made and this response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from the upstream. This response is not billable. |

## 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)
