# BaseBrain Twitter Data API

> BaseBrain Twitter Data API is a paid API for AI agents from basebrain-ai.vercel.app, paid per call via x402, $0.16/call, status unknown (last checked 2026-09-15).

Fetches Twitter/X data via a paid API endpoint on the BaseBrain platform

## Facts

- Endpoint: POST https://basebrain-ai.vercel.app/api/rapid/twitter-data
- Price: $0.16/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/basebrain-twitter-data-api-81aca644
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_pL0fF4FLRQvV0MjHziCI3

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 basebrain-twitter-data-api-81aca644 -d '<json body>'
```

Example prompt: Can you fetch the latest Twitter data for the account @elonmusk and show me their recent posts?

## When to prefer this

Use this endpoint when you need programmatic access to Twitter/X data and want a pay-per-call model via the x402 payment protocol without managing your own Twitter API credentials or developer account.

## Known failure modes

- Invalid or missing Twitter query parameters returns an error response
- Twitter API rate limits exceeded resulting in failed requests
- Payment not processed correctly leading to 402 response
- Requested Twitter user or content not found
- Malformed request body causes validation errors

## How this service works

Generated by create next app

## Output

Returns a result object containing Twitter/X data such as tweets, user profile information, engagement metrics, or other social media content depending on the query parameters provided.

## Response schema (JSON Schema)

```json
{
 "type": "object",
 "example": {
  "result": {
   "data": "example response"
  }
 },
 "properties": {
  "result": {
   "type": "object",
   "description": "API response data"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/basebrain-twitter-data-api-81aca644/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from basebrain-ai.vercel.app](https://www.zero.xyz/host/basebrain-ai.vercel.app/llms.txt)
