---
title: "OnTheMarket API: Agent | Perceptlayer"
description: "Agent from OnTheMarket as JSON. 1 credit per successful call."
url: https://perceptlayer.com/apis/onthemarket/agent
---

[APIs](https://perceptlayer.com/apis) / [OnTheMarket](https://perceptlayer.com/apis/onthemarket) / Agent

# OnTheMarket: Agent

Agent from OnTheMarket as JSON. 1 credit per successful call.

GET `/v1/onthemarket/agent`

## Parameters

Send parameters in the query string.

| Parameter | Type | Required | Allowed values |
| --- | --- | --- | --- |
| `slug` | string | Required | Up to 80 characters |

## Example request

cURL shell 

```
curl "https://api.perceptlayer.com/v1/onthemarket/agent" \
  -H "X-API-Key: $API_KEY"
```

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