WebhookInput

CompanySportsReal-TimeBetting

Properties

Name Type Description
url string
events array
leagues arraynull
frequency object
active boolean
View JSON Schema on GitHub

JSON Schema

realtimesportsapi-com-webhook-input-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/realtimesportsapi-com/json-schema/realtimesportsapi-com-webhook-input-schema.json",
  "title": "WebhookInput",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/realtimesportsapi-com-webhooks-api-openapi.yml#/components/schemas/WebhookInput",
  "type": "object",
  "properties": {
    "url": {
      "type": "string",
      "format": "uri"
    },
    "events": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/WebhookEventType"
      }
    },
    "leagues": {
      "type": [
        "array",
        "null"
      ],
      "items": {
        "type": "string"
      }
    },
    "frequency": {
      "$ref": "#/$defs/WebhookFrequency"
    },
    "active": {
      "type": "boolean"
    }
  },
  "$defs": {
    "WebhookEventType": {
      "type": "string",
      "enum": [
        "event.live",
        "event.score_change",
        "event.status_change",
        "event.play",
        "event.final",
        "event.play_corrected"
      ],
      "description": "event.play_corrected (opt-in) is sent when the provider revises a play we already sent: same payload as event.play with corrected: true and the original play id, delivered immediately. Replace the stored play with that id."
    },
    "WebhookFrequency": {
      "type": "string",
      "enum": [
        "asap",
        "30s",
        "1m",
        "5m",
        "10m",
        "30m"
      ],
      "description": "Delivery frequency (same rules on WebSocket subscriptions). 'asap' (default) delivers everything immediately. Any other value conflates only repeating updates per game: event.status_change where status.state is unchanged (clock/period/detail) and event.odds_change are held and the latest one per game is delivered at the next fixed tick (at most one per game per window). event.play, event.score_change, event.live, event.final and status changes where status.state changes (e.g. pre to in, in to post, Postponed) are always delivered immediately; a state change discards that game's held update. Each delivery counts once toward usage."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/realtimesportsapi-com-webhook-input"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.