---
title: "Get an agent’s Meta ads"
method: GET
path: "/v1/agents/{id}/ads"
tags: ["Content Research Agents"]
---

# Get an agent’s Meta ads

`GET /v1/agents/{id}/ads`

## Request

- Base URL: `https://api.virlo.ai`
- URL: `https://api.virlo.ai/v1/agents/{id}/ads`
- Auth: HTTP bearer

## Path parameters

- `id` string, required

## Query parameters

- `limit` number
- `page` number
- `order_by` 'created_at' | 'page_like_count'
- `sort` 'asc' | 'desc'

## Response `200`

Ads

- AgentAdsResponseDto
  - `data` AgentAdsDataDto, required
    - `agent_id` string, uuid, required
    - `agent_name` string, nullable
    - `total` number, required
    - `limit` number, required
    - `offset` number, required
    - `ads` AgentAdItemDto[], required
      - `id` number, required
      - `ad_archive_id` string, nullable, required
      - `page_id` string, nullable, required
      - `page_profile_url` string, nullable
      - `page_profile_picture_url` string, nullable
      - `is_active` boolean, nullable
      - `start_date` string, nullable
      - `end_date` string, nullable
      - `url` string, nullable
      - `caption` string, nullable
      - `body` string, nullable
      - `cta_type` string, nullable
      - `page_like_count` number, nullable
      - `title` string, nullable
      - `video_url` string, nullable
      - `created_at` string, required
      - `linked_at` string

## Other responses

- `401`: Missing or invalid API key (`missing_api_key` / `invalid_api_key`)
- `404`: Agent not found
- `429`: Rate limit exceeded (`rate_limit_exceeded`); see the Retry-After header

---

[API](https://skmtc.dev/virlo/apis/virlo-public-api.md) · [All operations](https://skmtc.dev/virlo/apis/virlo-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/virlo/apis/virlo-public-api/revisions/3b69c6145087?raw)
