odds_api_quota

Pack: odds-api · Endpoint: https://gateway.pipeworx.io/odds-api/mcp

Monthly request credits left and used on the key serving this call, read from The Odds API usage headers. Says whether the odds and scores tools can return data right now and how large the plan is.

Example call

Arguments

{}

curl

curl -X POST https://gateway.pipeworx.io/odds-api/mcp \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"odds_api_quota","arguments":{}}}'

TypeScript (@pipeworx/sdk)

import { Pipeworx } from '@pipeworx/sdk';
const pipeworx = new Pipeworx();

const result = await pipeworx.call('odds_api_quota', {});

Response shape

Always returns: found

FieldTypeDescription
foundbooleanFalse when The Odds API did not return usage headers on this response.
remaininginteger | nullRequest credits left on the key for the current billing month.
usedinteger | nullRequest credits already spent this billing month.
plan_requestsinteger | nullPlan size for the month (remaining + used).
last_call_costinteger | nullCredits the caller’s previous request consumed.
exhaustedboolean | nullTrue when no credits remain, so the metered odds and scores tools cannot return data.
checked_atstringWhen the balance was read, ISO 8601.
notestringHow the monthly reset behaves.
reasonstringPresent when found is false: why the balance could not be read.
hintstringPresent when found is false: what to call instead to tell a spent quota from a bad key.
Full JSON Schema
{
  "type": "object",
  "properties": {
    "found": {
      "type": "boolean",
      "description": "False when The Odds API did not return usage headers on this response."
    },
    "remaining": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Request credits left on the key for the current billing month."
    },
    "used": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Request credits already spent this billing month."
    },
    "plan_requests": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Plan size for the month (remaining + used)."
    },
    "last_call_cost": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Credits the caller's previous request consumed."
    },
    "exhausted": {
      "type": [
        "boolean",
        "null"
      ],
      "description": "True when no credits remain, so the metered odds and scores tools cannot return data."
    },
    "checked_at": {
      "type": "string",
      "description": "When the balance was read, ISO 8601."
    },
    "note": {
      "type": "string",
      "description": "How the monthly reset behaves."
    },
    "reason": {
      "type": "string",
      "description": "Present when found is false: why the balance could not be read."
    },
    "hint": {
      "type": "string",
      "description": "Present when found is false: what to call instead to tell a spent quota from a bad key."
    }
  },
  "required": [
    "found"
  ]
}

Connect

Add this to your MCP client config, or use one-click install buttons:

{
  "mcpServers": {
    "odds-api": {
      "url": "https://gateway.pipeworx.io/odds-api/mcp"
    }
  }
}

See Getting Started for client-specific install steps.

Regenerated from source · build August 21, 2026