Conecta una vez, lee muchas plataformas.

Crea una clave API y envíala como token Bearer. REST y MCP comparten saldo.

Autenticación

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>

Los campos API, ejemplos de código y fuentes conservan su 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

Errores y facturación

Las llamadas correctas descuentan saldo. Los fallos del proveedor se reembolsan. Límite: 60 llamadas por minuto por cuenta. El acceso anónimo se limita a una prueba verificada.

El precio depende de la acción. Usa dry_run=1 para consultar el precio sin obtener datos.

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