# Pinterest Ad details API (pinterest.ad_detail)

- Canonical page: [https://everyinfra.com/en/pinterest-api/ad_detail](https://everyinfra.com/en/pinterest-api/ad_detail?utm_medium=ai_doc&utm_campaign=page_md)
- Endpoint: POST https://api.everyinfra.com/api/v1/social with {"platform": "pinterest", "action": "ad_detail", "params": {...}}
- Price: $0.000556 per call ($0.56 per 1,000 requests); failed calls and empty results are not charged
- Returns: single object
- Mode: sync; add "mode": "async" for slow tasks

## Health

- Live health (24h percent, hourly and daily trends): https://api.everyinfra.com/api/v1/social/availability?platform=pinterest&action=ad_detail

## Parameters

| name | type | required | default | description |
|---|---|---|---|---|
| ad_id | not declared | yes | not declared | The `id` of an `ads` row (a numeric string). |

## Response fields (items in `results`)

| field | meaning |
|---|---|
| id | The record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms. |
| advertiser_names | Advertiser names. Usually absent in `ads` rows; look up the `id` with `ad_detail` to get them. |
| title | Title. null when the platform has no titles (for example text-only posts). |
| description | Summary or description, usually shorter than text. |
| creator_name | Display name of the original creator. |
| image_url | Image link. Capabilities with several images may return an image_urls array. |
| video_url | Video link. |
| start_date | Start date (YYYY-MM-DD): in `trend_reports`, the start of the period the report covers; in `ads` and `ad_detail`, when the ad started running. |
| end_date | End date (YYYY-MM-DD): in `trend_reports`, the end of the period the report covers; in `ads` and `ad_detail`, when the ad stopped running. |
| countries | Countries the ad ran in. |
| regions | Regions the ad was aimed at. |
| metros | Cities the ad was aimed at. |
| postal_codes | Postal codes the ad was aimed at. |
| has_excluded_locations | Whether some locations were excluded. |
| age_buckets | Age groups the ad was aimed at. |
| genders | Genders the ad was aimed at. |
| interests | Interests the ad was aimed at. |
| audience_list_types | Types of audience lists used. |
| devices | Devices the ad was aimed at. |
| internet_service_providers | Internet service providers the ad was aimed at. |
| has_keywords | Whether keyword targeting was used. |
| has_negative_keywords | Whether negative keywords were used. |
| reach_by_country | Reach band by country: keys are countries and values are the bands Pinterest gives (such as 0 - 10000). |
| reach_eu_label | Reach band across the EU (such as 0 - 10000). |
| is_commercial | Whether the ad is commercial content. |
| is_local_inventory | Whether it is a local inventory ad. |
| review_status | Review status. |
| violation_source | How a violation was detected. |
| violation_decision_means | How a violation was decided. |
| statement_of_reasons | Statement of reasons for the moderation decision. |
| collected_at | Time this record was collected (ISO 8601, UTC). |
| platform | Source platform identifier, the same as platform in the request (for example xiaohongshu, tiktok). |

## Example

```bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "pinterest",
  "action": "ad_detail",
  "params": {
    "ad_id": "4598808636507155712"
  }
}'
```

```python
import os
import requests

response = requests.post(
    "https://api.everyinfra.com/api/v1/social",
    headers={"Authorization": f"Bearer {os.environ['EVERYINFRA_API_KEY']}"},
    json={
        "platform": "pinterest",
        "action": "ad_detail",
        "params": {
            "ad_id": "4598808636507155712",
        },
    },
    timeout=120,
)
print(response.status_code)
print(response.json())
```

## Response example

No real sample for these example parameters yet: structure only, every value is a placeholder (…).

```text
{
  "id": "req_…",
  "platform": "pinterest",
  "action": "ad_detail",
  "results": {
    "id": …,
    "advertiser_names": …,
    "title": …,
    "description": …,
    "creator_name": …,
    "image_url": …,
    "video_url": …,
    "start_date": …,
    "end_date": …,
    "countries": …,
    "regions": …,
    "metros": …,
    "postal_codes": …,
    "has_excluded_locations": …,
    "age_buckets": …,
    "genders": …,
    "interests": …,
    "audience_list_types": …,
    "devices": …,
    "internet_service_providers": …,
    "has_keywords": …,
    "has_negative_keywords": …,
    "reach_by_country": …,
    "reach_eu_label": …,
    "is_commercial": …,
    "is_local_inventory": …,
    "review_status": …,
    "violation_source": …,
    "violation_decision_means": …,
    "statement_of_reasons": …,
    "collected_at": …,
    "platform": …
  },
  "billing": {
    "charged": …,
    "charged_usd": …,
    "balance_after_usd": …,
    …
  },
  "quota": { … }
}
```

## Also

- Capability catalog (no key): https://api.everyinfra.com/api/v1/social/catalog?platform=pinterest
- OpenAPI: https://everyinfra.com/openapi.json · Agents guide: https://everyinfra.com/agents.md
