---
title: "TOCTOC API: Agency | Perceptlayer"
description: "Agency from TOCTOC as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/toctoc/agency
---

[APIs](https://perceptlayer.com/apis) / [TOCTOC](https://perceptlayer.com/apis/toctoc) / Agency

# TOCTOC: Agency

Agency from TOCTOC as JSON. 1 credit per successful call.

GET `/v1/toctoc/agency`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `agency_id` | string | Optional | Any |
| `agency_type` | string | Optional | developer, broker |
| `url` | string | Optional | Up to 300 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/toctoc/agency?agency_id=6a50d1921e9eb1bc8cf93aa2&agency_type=broker" \
  -H "X-API-Key: $API_KEY"
```

[Run this endpoint in the playground](https://perceptlayer.com/apis/toctoc?try=agency#playground) with your own parameters. 1 credit per successful call; failed calls are free.
