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.
openapi: 3.2.0
info:
title: LONG Events Public Discovery API
version: 1.3.0
description: Bounded discovery (100 entries/collection, 93-day event windows, eight concurrent requests, 1,000 unique entity IDs/principal/UTC day). Organizer contacts/enrichment are private; public organizer search is disabled. Handle 403 suspension, 429 limits and 503 unavailable controls. Public REST and MCP entrypoints for event discovery, event weeks, schedules, venues, organizers, artists, concerts by artist, the weekly LONG 5 edition, pricing, and x402 discovery.
x-guidance: 'Call GET or POST /api-events with an "action" parameter for events, schedules, set times, now playing, and artists, and GET or POST /api-event-weeks with an "action" parameter for conference weeks, festivals, cities, tags, and side events. MCP clients can use the streamable HTTP endpoint /mcp-server/mcp instead: initialize, ping, tools/list, and notifications are free; tools/call is metered unless an API key covers it. API requests can use a LONG or Belong key in X-API-Key, and an API-key request can opt into prepaid credit billing with X-Pay-With-Credits. Autonomous agents can call without a key, read the returned HTTP 402 payment requirements, and retry through an advertised x402 lane. The default price is half a cent ($0.005) per call; /api-pricing is authoritative.'
termsOfService: https://long.events/docs
contact:
name: LONG Events
email: explore@long.events
url: https://long.events/docs
servers:
- url: https://long.events/functions/v1
description: Production
tags:
- name: Discovery
description: Live pricing and x402 resource metadata.
paths:
/api-pricing:
get:
tags:
- Discovery
operationId: getApiPricing
summary: Get live per-action pricing
description: No authentication required. Amounts are returned in USD micros, USDC atomic units, LONG wei, self-facilitated BSC stablecoin bundle units, and configured B402 asset units. While the time-boxed LONG payment promotion runs, long_wei and long_display are what a LONG payment costs now (net of the discount), long_list_wei and long_list_display are the same price without it, and data.long_payment_discount reports the percent in force, when it ends and whether it is active. USD, USDC, B402 and stablecoin amounts are never discounted.
security: []
responses:
'200':
description: Current prices and supported payment methods
content:
application/json:
schema:
$ref: '#/components/schemas/SuccessEnvelope'
'500':
$ref: '#/components/responses/ServerError'
/x402-discovery:
get:
tags:
- Discovery
operationId: getX402Discovery
summary: Discover every x402-payable API and MCP resource
security: []
responses:
'200':
description: Resource catalog with payment requirements and metadata
content:
application/json:
schema:
type: object
additionalProperties: true
'500':
$ref: '#/components/responses/ServerError'
components:
responses:
Error500:
description: Unexpected server error.
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorEnvelope'
ServerError:
$ref: '#/components/responses/Error500'
schemas:
SuccessEnvelope:
type: object
required:
- success
- data
properties:
success:
const: true
data:
type: object
description: Action-specific result. Artist actions use ArtistIdentity for `artist` and each member of `artists`.
properties:
events:
type: array
items:
type: object
properties:
event_page_url:
type:
- string
- 'null'
format: uri
description: Human citation page on Belong Events, Crypto Events for a crypto detail, or CheckIn for a Belong-native event. Null when the event has no valid ID or name, or a Belong-native event has no valid CheckIn path.
editorial_pick:
type: boolean
description: Present on human-approved editorial results.
editorial_series:
type: string
enum:
- long5
- crypto5
description: Published editorial series; LONG5 is culture/music, CRYPTO5 is crypto and broader tech.
editorial_blurb:
type: string
description: Approved reader-facing copy.
editorial_is_city_pick:
type: boolean
description: Lead event in its published round.
additionalProperties: true
artist:
$ref: '#/components/schemas/ArtistIdentity'
artists:
type: array
items:
$ref: '#/components/schemas/ArtistIdentity'
additionalProperties: true
ArtistIdentity:
type: object
additionalProperties: true
required:
- id
- slug
- name
- mbid
- spotify_id
properties:
id:
type: string
format: uuid
description: LONG Events artist UUID.
slug:
type: string
name:
type: string
mbid:
type:
- string
- 'null'
format: uuid
description: Accepted MusicBrainz artist ID, or null when no unambiguous mapping is available.
spotify_id:
type:
- string
- 'null'
pattern: ^[A-Za-z0-9]{22}$
description: Spotify artist ID backed by cross-provider verification, or null. Name-only listener-library matches are never published.
ErrorEnvelope:
type: object
required:
- success
- error
properties:
success:
const: false
error:
type: string
securitySchemes:
ApiKey:
type: apiKey
in: header
name: X-API-Key
description: LONG key (`long_...`) or Belong key (`sk_...`).
PaymentSignature:
type: apiKey
in: header
name: PAYMENT-SIGNATURE
description: Signed x402-v2, self-facilitated BSC stablecoin/LONG tx-hash proof, or B402 payment payload selected from a 402 response. `X-PAYMENT` is accepted as a compatibility alias.
PaymentSession:
type: apiKey
in: header
name: X-402-Token
description: Reusable payment-session token returned after a successful bundled payment.
Credits:
type: apiKey
in: header
name: X-Pay-With-Credits
description: Opt an API-key request into prepaid credit billing.
externalDocs:
description: Human-readable API and MCP documentation
url: https://long.events/docs