Conecte uma vez, leia várias plataformas.

Crie uma chave API e envie como token Bearer. REST e MCP compartilham o saldo.

Autenticação

REST
curl "https://posttodata.com/v1/reddit/search?query=coffee&limit=5&format=compact" \
  -H "Authorization: Bearer YOUR_API_KEY"

MCP

Setup for Claude, ChatGPT, Codex, Antigravity and Gemini
Claude Code
claude mcp add --transport http posttodata https://posttodata.com/mcp \
  --header "Authorization: Bearer YOUR_API_KEY"
JSON configuration
{
  "mcpServers": {
    "posttodata": {
      "url": "https://posttodata.com/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_API_KEY"
      }
    }
  }
}

Formatos

format=compact   # concise JSON
format=standard  # normalized fields
format=full      # includes upstream payload
format=markdown  # cited text (default for MCP)
limit=1..50
cursor=<page.next_cursor>

Campos da API, exemplos de código e fontes mantêm o idioma original.

Limit the price of each call

REST and MCP accept max_price_usd; REST also accepts the X-Max-Price header. A price above either limit returns 412 before any upstream fetch or charge. Also limit the number of calls to bound the total task cost.

max_price_usd=0.003
X-Max-Price: 0.003
AI agent spending guide

Erros e cobrança

Chamadas bem-sucedidas descontam saldo. Falhas do provedor são reembolsadas. Limite de 60 chamadas por minuto por conta. Acesso anônimo limitado a um teste verificado.

O preço varia por ação. Use dry_run=1 para consultar o preço sem buscar dados.

401 invalid_key / login_required
402 insufficient_balance
403 trial_used / verification_required
412 price_limit_exceeded
429 rate_limited / daily_budget_exhausted
502 upstream_error
503 service_unavailable
504 upstream_timeout