# AnyAPI Facebook Ad Details

> AnyAPI Facebook Ad Details is a paid API for AI agents from api.getanyapi.com, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-14).

Scrapes detailed information about a specific Facebook advertisement by ad ID or URL

## Facts

- Endpoint: POST https://api.getanyapi.com/v1/run/facebook.ad_details
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/anyapi-facebook-ad-details-94f64d22
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_bVuCcmKUGhNmCK0eCLS4U

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability anyapi-facebook-ad-details-94f64d22 -d '<json body>'
```

Example prompt: Pull the full details for this Facebook ad — creative, copy, advertiser, and targeting info — using the ad ID 23851234567890 so I can analyze what my competitor is running.

## When to prefer this

Use this endpoint when you need to programmatically retrieve details of a specific Facebook ad without a Facebook API account or ad manager access. Ideal for competitive intelligence, ad monitoring, and market research workflows where you need ad creative and metadata on demand at low per-call cost with no subscription required.

## Known failure modes

- Ad ID or URL not found or invalid — returns error JSON
- Ad has been removed or is no longer active — empty or partial result
- Facebook anti-scraping measures block the request — timeout or access denied error
- Rate limiting on the underlying scraper — retry with backoff
- Malformed input parameters — validation error response

## How this service works

1,200+ scraping and data APIs behind one key. Pay per request in real dollars. No subscriptions, nothing monthly, nothing to cancel.

## Output

A JSON object containing scraped Facebook ad details such as ad creative assets, headline, body copy, advertiser name and page, call-to-action, targeting parameters, ad status, and potentially spend or impression data depending on availability.

## Response schema (JSON Schema)

```json
{
 "type": "json"
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/anyapi-facebook-ad-details-94f64d22/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from api.getanyapi.com](https://www.zero.xyz/host/api.getanyapi.com/llms.txt)
