sports

Get sport metadata by ID

Get sport metadata by ID.

get/sports/{id}

Request

  • Base URL: https://gamma-api.polymarket.com (the document declares no server; this is the origin it was published from)
  • URL: https://gamma-api.polymarket.com/sports/{id}
  • Auth: none declared

Path parameters

idinteger required

Sport metadata ID

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

createdAtstring date-time

Time when the sports metadata was created.

idinteger required

Unique sports metadata ID.

imagestring required

Image URL for the sport.

namestring

Display name for the sport or league.

orderingstring required

Ordering configuration used for sport display.

primaryTagIdinteger

ID of the league's own tag, as opposed to the shared base tags in the tags CSV.

resolutionstring required

Default resolution source or display text for the sport.

seriesstring required

Comma-separated series identifiers associated with the sport.

sportstring required

Sport slug this metadata applies to.

tagsstring required

Comma-separated tag identifiers associated with the sport.

updatedAtstring date-time

Time when the sports metadata was last updated.

Example response

{
  "$schema": "https://example.com/schemas/SportsMetadata.json",
  "externalPartners": [
    {
      "$schema": "https://example.com/schemas/SportExternalPartnerMapping.json",
      "partner": {
        "$schema": "https://example.com/schemas/Partner.json"
      }
    }
  ]
}

Changes

No recorded changes to this operation across all 1 revision of this API.