XP Venues API
Venue discovery
Venue discovery
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.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.curl "https://apis.io/api/v1/apis/xp-tickets:xp-tickets-venues-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
openapi: 3.2.0
info:
title: XP Exchange Venues API
version: 0.1.0
description: 'API for partners to bid on and list tickets.
### Authentication
All requests are authenticated with an API key passed as a Bearer token
in the `Authorization` header: `Authorization: Bearer xpk_`.
The only exception is `GET /api/v1/exchange/health`, which is
unauthenticated.
### Content type
`POST` endpoints require a JSON request body with the
`Content-Type: application/json` header.
### Date / time semantics
The `start_datetime` field (and its `start_datetime_from` /
`start_datetime_to` filters) and every `*_at` timestamp use UTC,
ISO 8601, with a trailing `Z` (e.g. `2026-05-12T10:00:00Z`). Query
filters accept the same format and treat an explicit timezone offset
(e.g. `+05:00`) as equivalent; values without a timezone are
interpreted as UTC.
`start_datetime_local` (and its `start_datetime_local_from` /
`start_datetime_local_to` filters) is wall-clock time at the venue
with no offset (e.g. `2026-05-12T10:00:00`).
### Example IDs
All `prf_*`, `vnu_*`, `evt_*`, `rfb_*`, and `bid_*` identifiers in
this documentation (request paths, request bodies, response payloads,
schema `example` fields) are illustrative placeholders. They are not
guaranteed to resolve in production — substitute IDs returned from
your own `/performers`, `/venues`, `/events`, `/request-for-bids`,
and `/bids` calls.
### Listings by partner_ref
Every `/listings/{id}` route also takes your own `partner_ref` in
place of the `lst_` id: exact match, URL-encoded. A ref containing `/`
cannot be addressed this way; use its `lst_` id.
### Request IDs
Every response includes an `X-Request-Id` header (a UUID) that
uniquely identifies the request in our logs. Error responses also
echo the same value as `error.request_id` in the JSON body.
### Repeated query parameters
A query parameter may appear at most once per request. Repeating any
parameter — including multi-value filters — is rejected with
`400 invalid_parameter`. Pass multi-value filters as a single
comma-separated value: `?event_ids=evt_a,evt_b`, not
`?event_ids=evt_a&event_ids=evt_b`.
### Multi-value ID filter size
Each ID-list filter (`event_ids`, `venue_ids`, `performer_ids`,
`request_for_bids_ids`, `ids`) is capped at **100 IDs per filter** per
request; `partner_refs` at 50. Exceeding the cap is rejected with
`400 invalid_parameter` — split into multiple requests if you need more.
The total request URL is also bounded by upstream limits (~4 KB).
Combining several ID filters at or near the per-filter cap in one
request can exceed that ceiling and produce an HTML 400 from the
application server instead of the usual JSON envelope. If you need
to combine many filters, prefer issuing separate requests per
filter dimension and intersecting the results client-side.'
servers:
- url: https://api.xp.tickets
description: Production
security:
- bearer_auth: []
tags:
- name: Venues
description: Venue discovery
paths:
/api/v1/exchange/venues:
get:
tags:
- Venues
summary: List venues
operationId: list_venues
parameters:
- name: name
in: query
description: 'Fuzzy match on venue name. When present, results are ranked
by closeness of match, with a popularity boost so well-known
venues outrank obscure near-matches. When absent, results are
ordered alphabetically by `name`.
'
schema:
type: string
example: madison square garden
- name: city
in: query
description: Exact match on city name.
schema:
type: string
- name: state_code
in: query
description: Two-letter US state or Canadian province code (ISO 3166-2 subdivision).
schema:
type: string
minLength: 2
maxLength: 2
- name: country_code
in: query
description: Two-letter ISO 3166-1 alpha-2 country code.
schema:
type: string
minLength: 2
maxLength: 2
- name: limit
in: query
description: Number of results per page (1-100).
schema:
type: integer
minimum: 1
maximum: 100
default: 50
- name: cursor
in: query
description: 'Opaque pagination token from a previous response''s `next_cursor`.
Cursors expire **5 minutes** after issuance — beyond that, the
server returns `400 invalid_cursor` and you must restart
pagination from the first page. Do not persist cursors across
requests separated by long delays. Omit on the first request.
'
schema:
type: string
responses:
'200':
description: List of venues
content:
application/json:
schema:
$ref: '#/components/schemas/VenueListResponse'
'400':
$ref: '#/components/responses/BadRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalServerError'
/api/v1/exchange/venues/{id}:
get:
tags:
- Venues
summary: Get a single venue
operationId: get_venue
parameters:
- name: id
in: path
required: true
description: Venue external ID (prefixed `vnu_`).
schema:
type: string
responses:
'200':
description: Venue details
content:
application/json:
schema:
$ref: '#/components/schemas/Venue'
'401':
$ref: '#/components/responses/Unauthorized'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
'500':
$ref: '#/components/responses/InternalServerError'
components:
responses:
Unauthorized:
description: "Authentication failure. The `error.code` distinguishes:\n- `unauthenticated` — `Authorization` header is missing or not a\n `Bearer xpk_...` token.\n- `invalid_api_key` — header was well-formed but the key is\n unknown, revoked, or otherwise not accepted.\n"
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InternalServerError:
description: Unexpected server error
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: Resource not found
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: Rate limit exceeded (error code `rate_limited`)
headers:
Retry-After:
schema:
type: integer
description: Seconds to wait before retrying.
RateLimit-Limit:
schema:
type: integer
description: Requests allowed per rolling 60-second window.
RateLimit-Remaining:
schema:
type: integer
description: Requests remaining in the window.
RateLimit-Reset:
schema:
type: integer
description: Seconds until capacity frees.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
BadRequest:
description: Invalid request parameters
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
schemas:
VenueListResponse:
type: object
required:
- data
- next_cursor
- has_more
properties:
data:
type: array
items:
$ref: '#/components/schemas/Venue'
next_cursor:
type:
- string
- 'null'
has_more:
type: boolean
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
- request_id
properties:
code:
type: string
description: Stable machine-readable error code.
example: invalid_parameter
message:
type: string
description: Human-readable error description.
example: '`limit` must be between 1 and 100'
param:
type: string
description: The offending parameter, if applicable.
example: limit
details:
type: object
description: 'Machine-readable context, documented per error code.
Currently only on `bid_below_minimum_increment`: the lot''s
`top_open_bid` and `min_bid_to_lead`, same shapes as on
the `RequestForBids` object.
'
request_id:
type: string
format: uuid
description: 'Same UUID as the `X-Request-Id` response header (see the
**Request IDs** section of the API overview). Echoed in
every error body so partners that only log the response
JSON still capture it. Quote it when reporting issues —
we can resolve to the exact request in our logs from a
request ID alone.
'
example: 8e7c2f70-9c4f-4ae5-a4f0-d8a7e3a1c2b3
Venue:
type: object
required:
- id
- name
properties:
id:
type: string
description: Venue external ID (prefixed `vnu_`).
example: vnu_a9hvwc4gd6s9herb
name:
type: string
example: Madison Square Garden
city:
type:
- string
- 'null'
example: New York
state_code:
type:
- string
- 'null'
description: 'Subdivision (state / province / region) where the venue is
located. **Format is not strict** — parse as an opaque
string, not as a fixed-length ISO code. Typically an ISO
3166-2 two-letter code for US states / Canadian provinces
(e.g. `NY`, `ON`), but partners should expect free-form
regional names for international venues (e.g. `Saxony`,
`Lower Saxony`, `City of Bristol`). Legacy non-US rows may
also carry the literal country code here (e.g. `UK`).
`null` when no subdivision is recorded.
'
example: NY
country_code:
type:
- string
- 'null'
example: US
timezone:
type:
- string
- 'null'
description: IANA timezone name.
example: America/New_York
securitySchemes:
bearer_auth:
type: http
scheme: bearer
bearerFormat: API key
x-tagGroups:
- name: Guides
tags:
- getting-started
- getting-an-api-key
- authentication
- rate-limits
- webhooks
- name: Recipes
tags:
- bid-on-performer-event
- poll-venue-for-new-rfbs
- map-your-catalog
- create-listing-and-accept-bid
- match-event-and-create-listing
- create-test-listing-and-fulfill-order
- name: API Reference
tags:
- tickets
- events
- venues
- performers
- request-for-bids
- bids
- listings
- balance
- health