# Facebook Company Ads

List the Meta Ad Library ads a company is running by page ID or company name (creative text, format, platforms, and run dates) with cursor pagination.

|  |  |
| --- | --- |
| Tool id | `anyapi.facebook-company-ads` |
| Platform | [Facebook](https://www.orcarouter.ai/tools/facebook.md) |
| Capability | [Ads](https://www.orcarouter.ai/tools/facebook/ads-search.md) |
| Price | $0.00121 per call |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | no |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `companyName` | string | no | Company name to search (e.g. "nike"). Exact-match and case-sensitive against the Meta Ad Library index; an advertiser with no indexed page returns found:false. |
| `country` | string | no | Two-letter country code to scope results. Defaults to all countries. |
| `cursor` | string | no | Opaque pagination cursor from a previous response's nextCursor. |
| `endDate` | string | no | Filter to ads with impressions on or before this date, in YYYY-MM-DD format. |
| `language` | string | no | Two-letter language code to filter ads (e.g. "EN", "ES", "FR"). |
| `mediaType` | string | no | Creative media type filter. |
| `pageId` | string | no | Company's Ad Library page ID. Provide either pageId or companyName. |
| `sortBy` | string | no | Sort order: impressions (highest first, the default) or recent (most recent). |
| `startDate` | string | no | Filter to ads with impressions on or after this date, in YYYY-MM-DD format. |
| `status` | string | no | Ad status filter. Defaults to ACTIVE. |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/anyapi.facebook-company-ads/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{}}'
```

```python
import os, requests

resp = requests.post(
    "https://api.orcarouter.ai/v1/tools/anyapi.facebook-company-ads/run",
    headers={"Authorization": f"Bearer {os.environ['ORCAROUTER_API_KEY']}"},
    json={"input":{}},
)
print(resp.json())
```

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Facebook Ad Search](https://www.orcarouter.ai/tools/facebook/ads-search/facebook-ads-search.md) | — | $0.00121 per call | OK |
| [Facebook Ad Details](https://www.orcarouter.ai/tools/facebook/ads-search/facebook-ad-details.md) | — | $0.00132 per call | OK |
| [Facebook Ad Transcript](https://www.orcarouter.ai/tools/facebook/ads-search/facebook-ad-transcript.md) | — | $0.00132 per call | OK |
| [Facebook Ad Creative Details](https://www.orcarouter.ai/tools/facebook/ads-search/facebook-ad-details-full.md) | — | $0.005082 per call | OK |

## FAQ

### How much does Facebook Company Ads cost?

Facebook Company Ads costs $0.00121 per call: 1,000 calls cost $1.21.

### What does a $10 budget buy with Facebook Company Ads?

About 8264 calls at $0.00121 per call.

### What inputs does Facebook Company Ads need?

It has no required inputs.

### How do I call Facebook Company Ads?

Send POST /v1/tools/{id}/run with your OrcaRouter API key and a JSON body {"input": {…}}, where {id} is the tool id POST /v1/tools/discover returns for it.

---

Markdown version of https://www.orcarouter.ai/tools/facebook/ads-search/facebook-company-ads
