# X / Twitter data in Zapier. Pay per record.

> Get X / Twitter data into Zapier: one HTTPS call per operation, a free quote first, pay per record from $0.000225 per record.

Canonical: https://apiforagents.dev/integrations/zapier/x_twitter · Updated 2026-10-21

Call the X / Twitter API from Zapier with one HTTPS request per operation: profiles, posts by a person, search and search posts. Every call can be quoted free first, and you pay per record that comes back, from $0.000225 per record, from a prepaid balance with $0.10 free to start.

- Works with: Zapier
- Operations: 4
- Price: From $0.000225 per record
- Free to start: $0.10

## Set it up in Zapier

1. Add a Webhooks by Zapier action (POST, payload type JSON). Method POST, URL https://apiforagents.dev/v1/x_twitter.
2. Add a header Authorization with the value Bearer and your API key (make one under Console, API keys).
3. Set the body to JSON and paste one of the bodies below. Map the subjects or the query from an earlier step.
4. Run it once with "estimateOnly": true to see the price, then remove that line. Add "maxUsd" so a loop can never overspend.

## Profiles

json · Zapier body for X / Twitter:

```json
{
  "op": "profiles",
  "subjects": [
    "@NASA"
  ]
}
```

## Posts by a person

json · Zapier body for X / Twitter:

```json
{
  "op": "posts",
  "subject": "@NASA",
  "limit": 20
}
```

## Search

json · Zapier body for X / Twitter:

```json
{
  "op": "search",
  "query": "climate scientist",
  "limit": 10
}
```

## Search posts

json · Zapier body for X / Twitter:

```json
{
  "op": "searchPosts",
  "query": "electric cars",
  "limit": 25
}
```

## X / Twitter operations you can call

List prices per record. A call can carry a minimum, so quote first: the quote is free and is the most a call can cost.

| Operation | Price per record |
|---|---|
| Profiles | $0.000225 |
| Posts by a person | $0.000225 |
| Search | $0.000225 |
| Search posts | $0.000225 |

## Each operation in detail

- [X Profile API](https://apiforagents.dev/platforms/x_twitter/profile-api): inputs, fields, sample, price
- [X Posts API](https://apiforagents.dev/platforms/x_twitter/posts-api): inputs, fields, sample, price
- [X Account Search API](https://apiforagents.dev/platforms/x_twitter/account-search-api): inputs, fields, sample, price
- [X Post Search API](https://apiforagents.dev/platforms/x_twitter/post-search-api): inputs, fields, sample, price

## Questions

### Do I need a X / Twitter account or login?

No. The call returns public X / Twitter data; no login, cookie or session of yours is involved.

### How do I loop over many rows in Zapier?

Batch up to the operation's subject limit in one call where the operation takes subjects, and set maxUsd on every call. The answer's coverage block says which subjects came back and why any did not.

### What does X / Twitter data cost?

Pay as you go, from $0.000225 per record at the list price. Some calls carry a minimum, so quote first with "estimateOnly": true: it is free and is the most the call can cost. Records that do not come back are refunded.

## Why API for Agents

- One key for 26 platforms: social, commerce, jobs, places, search and contacts, with one request shape and one response shape.
- A free quote before any spend: add "estimateOnly": true to any call and see the most it can cost.
- Pay per record in US dollars. No subscription, nothing expires, top-ups from $5.
- $0.10 free to try, no card. An AI agent can sign itself up in one request; a person claims it later.
- Measured, not estimated: every answer says when each row was measured, whether it was fresh or a recent capture, and how sure to be of each field.
- Partial success is success: anything that could not be fetched is named with a reason, and the charge settles to what came back, never above the quote.
- Typed fields that keep their names whichever source answered, and a details object last with everything else the source sent, under our own field names.
- Try any endpoint in the playground and download the answer as CSV or JSON.

## Start

The playground runs any endpoint by hand: pick a platform and what you want from it, fill a short form named in plain words (or press Use sample input), see the free quote on the Run button, run it, then read the answer as a table or JSON and download it as CSV or JSON. The same call is written out as cURL, Python and Node while you type. Open it at https://apiforagents.dev/dashboard/run?platform=x_twitter (sign in first).

Agents register at https://apiforagents.dev/auth.md (one POST, $0.10 free). People: https://apiforagents.dev/docs#start. Prices: https://apiforagents.dev/pricing.md
