Referencia

Límites y uso

Esta referencia está en inglés. La navegación y las etiquetas están traducidas.

Limits apply per key and count REST requests and MCP tool calls together. The data changes once a day, so caching goes a long way.

Limits

Headers on every response
RateLimit-Limit: 60
RateLimit-Remaining: 42
RateLimit-Reset: 18
RateLimit-Policy: 60;w=60
Over the limit
HTTP/1.1 429 Too Many Requests
Content-Type: application/problem+json
Retry-After: 18
RateLimit-Limit: 60
RateLimit-Remaining: 0
RateLimit-Reset: 18
Respuesta429
{
  "type": "https://yieldsniper.finance/developers/errors#rate_limited",
  "title": "Too many requests",
  "status": 429,
  "code": "rate_limited",
  "detail": "Limit of 60 requests per minute reached for this key. Retry after 18 seconds.",
  "request_id": "req_1c7e90d1b4f82a6e5d3c9b07"
}

Caching

Conditional request
curl https://yieldsniper.finance/api/v1/screens/latest \
  -H "Authorization: Bearer $YS_API_KEY" \
  -H 'If-None-Match: "VVzbh_ReUWWmU3lOurOO-Hwh3GM"'

# HTTP/1.1 304 Not Modified (no body)

Usage