# Facebook events for a city by URL

Get the events of a city.

|  |  |
| --- | --- |
| Tool id | `scrapecreators.x-v1-facebook-events` |
| Platform | [Facebook](https://www.orcarouter.ai/tools/facebook.md) |
| Capability | [Other tools](https://www.orcarouter.ai/tools/facebook/other.md) |
| Price | $0.002068 per credit |
| Health | OK |
| p50 latency | — |
| Success (7 days) | — |
| Runs (30 days) | — |
| Idempotent | yes |
| Data class | scraped |

## Input

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `url` | string | yes | The URL of the city's Facebook Events page |
| `cursor` | string | no | The cursor to paginate to the next page |
| `time` | string | no | The time frame to search for. Defaults to all time |

## Call it

```bash
curl -sS https://api.orcarouter.ai/v1/tools/scrapecreators.x-v1-facebook-events/run \
  -H "Authorization: Bearer $ORCAROUTER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"input":{"url":"<url>"}}'
```

```python
import os, requests

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

## Alternatives

| Tool | Source | Price | Health |
| --- | --- | --- | --- |
| [Facebook Event Details](https://www.orcarouter.ai/tools/facebook/other/facebook-event-details.md) | — | $0.00132 per call | OK |
| [Facebook Events](https://www.orcarouter.ai/tools/facebook/other/facebook-events.md) | — | $0.00132 per call | OK |
| [Facebook Group Posts](https://www.orcarouter.ai/tools/facebook/other/facebook-group-posts.md) | — | $0.00132 per call | OK |
| [Facebook Marketplace](https://www.orcarouter.ai/tools/facebook/other/facebook-marketplace.md) | — | $0.00132 per call | OK |
| [Facebook Marketplace Location Search](https://www.orcarouter.ai/tools/facebook/other/facebook-marketplace-location-search.md) | — | $0.00132 per call | OK |
| [Facebook Page Contact Info](https://www.orcarouter.ai/tools/facebook/other/facebook-page-contact.md) | — | $0.00132 per call | OK |
| [Facebook Page Photos](https://www.orcarouter.ai/tools/facebook/other/facebook-photos.md) | — | $0.00132 per call | OK |
| [Facebook Post](https://www.orcarouter.ai/tools/facebook/other/facebook-post-detail.md) | — | $0.00132 per call | OK |
| [Facebook Post Transcript](https://www.orcarouter.ai/tools/facebook/other/facebook-post-transcript.md) | — | $0.00132 per call | OK |
| [Facebook event details by id or URL](https://www.orcarouter.ai/tools/facebook/other/x-v1-facebook-event-details.md) | — | $0.002068 per credit | OK |

Showing the first 10 of 11.

## FAQ

### How much does Facebook events for a city by URL cost?

Facebook events for a city by URL costs $0.002068 per credit: 1,000 units cost $2.068.

### What does a $10 budget buy with Facebook events for a city by URL?

About 4835 units (credit) at $0.002068 each.

### What inputs does Facebook events for a city by URL need?

Required inputs: url.

### How do I call Facebook events for a city by URL?

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/other/x-v1-facebook-events
