LONG Events Events and artists API

Event discovery, set times, schedules, artist identity, and concerts by artist.

GitHub OpenAPI

Operations 3

GET /api-events Run an event, schedule, or artist action #
POST /api-events Run an event, schedule, or artist action with a JSON body #
OPTIONS /api-events CORS preflight #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/long-events:long-events-events-and-artists-api"
All apis
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.

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.

OpenAPI Specification

long-events-events-and-artists-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LONG Events Public Events and artists 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: Events and artists
  description: Event discovery, set times, schedules, artist identity, and concerts by artist.
paths:
  /api-events:
    get:
      tags:
      - Events and artists
      operationId: getEventsAction
      summary: Run an event, schedule, or artist action
      description: Pass parameters in the query string. `discover` is the default action. Cite `event_page_url` when present (Belong Events for general events, Crypto Events for crypto details, CheckIn for Belong-native events). Event payloads also include catalog `rank` (0-100 from listing completeness), `predicted_end_time` when the listing omitted an end and a later source statement fills it, and `ticket_offer` when a verified price or availability is still fresh. `ticket_url` is the separate purchase link. `stats` and `spotlight_candidates` require an API key; all other actions accept any documented access lane. The four artist actions' identity objects carry nullable `mbid` and `spotify_id` anchors; Spotify IDs appear only after cross-provider verification. `catalog_stats` reports catalog size, indexable cities and the busiest cities; `spotlight_candidates` ranks organizers, venues or artists with a public Instagram handle, with 30-day activity windows and the next citable date, and never carries contact fields.
      parameters:
      - $ref: '#/components/parameters/EventsAction'
      - $ref: '#/components/parameters/Latitude'
      - $ref: '#/components/parameters/Longitude'
      - $ref: '#/components/parameters/City'
      - $ref: '#/components/parameters/Country'
      - $ref: '#/components/parameters/Category'
      - $ref: '#/components/parameters/StartDateCamel'
      - $ref: '#/components/parameters/EndDateCamel'
      - $ref: '#/components/parameters/StartDateSnake'
      - $ref: '#/components/parameters/EndDateSnake'
      - $ref: '#/components/parameters/Limit'
      - $ref: '#/components/parameters/Offset'
      - $ref: '#/components/parameters/Cursor'
      - $ref: '#/components/parameters/NearLat'
      - $ref: '#/components/parameters/NearLng'
      - $ref: '#/components/parameters/RadiusKm'
      - $ref: '#/components/parameters/SortBy'
      - $ref: '#/components/parameters/EditorialPick'
      - $ref: '#/components/parameters/EditorialSeries'
      - $ref: '#/components/parameters/EventId'
      - $ref: '#/components/parameters/EventWeekId'
      - $ref: '#/components/parameters/EventWeekSlug'
      - $ref: '#/components/parameters/Date'
      - $ref: '#/components/parameters/Stage'
      - $ref: '#/components/parameters/ArtistName'
      - $ref: '#/components/parameters/ArtistId'
      - $ref: '#/components/parameters/Slug'
      - $ref: '#/components/parameters/Name'
      - $ref: '#/components/parameters/Query'
      - $ref: '#/components/parameters/Source'
      - $ref: '#/components/parameters/MinEvents'
      - $ref: '#/components/parameters/UpcomingOnly'
      - $ref: '#/components/parameters/SpotlightKind'
      - $ref: '#/components/parameters/SpotlightCities'
      security:
      - ApiKey: []
      - PaymentSignature: []
      - PaymentSession: []
      - Credits: []
      - {}
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
        protocols:
        - x402: {}
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '403':
          $ref: '#/components/responses/Suspended'
        '413':
          $ref: '#/components/responses/TooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
        '500':
          $ref: '#/components/responses/ServerError'
    post:
      tags:
      - Events and artists
      operationId: postEventsAction
      summary: Run an event, schedule, or artist action with a JSON body
      requestBody:
        required: false
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/EventsRequest'
            examples:
              artistConcerts:
                summary: Upcoming concerts by artist
                value:
                  action: get_artist_events
                  name: Overmono
                  upcoming_only: true
                  limit: 20
              cityDiscovery:
                summary: Discover events in a city
                value:
                  action: discover
                  city: Berlin
                  category: electronic
                  limit: 20
              editorialPicks:
                summary: Human-approved editorial picks for a city
                value:
                  action: discover
                  city: Berlin
                  editorial_pick: true
                  limit: 20
      security:
      - ApiKey: []
      - PaymentSignature: []
      - PaymentSession: []
      - Credits: []
      - {}
      x-payment-info:
        price:
          mode: fixed
          currency: USD
          amount: '0.005'
        protocols:
        - x402: {}
      responses:
        '200':
          $ref: '#/components/responses/Success'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '402':
          $ref: '#/components/responses/PaymentRequired'
        '404':
          $ref: '#/components/responses/NotFound'
        '403':
          $ref: '#/components/responses/Suspended'
        '413':
          $ref: '#/components/responses/TooLarge'
        '429':
          $ref: '#/components/responses/RateLimited'
        '503':
          $ref: '#/components/responses/Unavailable'
        '500':
          $ref: '#/components/responses/ServerError'
    options:
      tags:
      - Events and artists
      operationId: optionsEvents
      summary: CORS preflight
      security: []
      responses:
        '204':
          description: CORS headers
components:
  parameters:
    Date:
      name: date
      in: query
      schema:
        type: string
        format: date
      description: Schedule date.
    EventWeekId:
      name: event_week_id
      in: query
      schema:
        type: string
        format: uuid
      description: Event-week UUID for event and schedule filtering.
    EventsAction:
      name: action
      in: query
      schema:
        type: string
        default: discover
        enum:
        - discover
        - list
        - stats
        - catalog_stats
        - spotlight_candidates
        - get_sets
        - get_now_playing
        - get_schedule
        - search_artists
        - get_artist
        - get_artist_events
        - list_artists
      description: Action to run.
    RadiusKm:
      name: radius_km
      in: query
      schema:
        type: number
        minimum: 0
      description: Maximum distance from the reference coordinates, in kilometres.
    ArtistName:
      name: artist_name
      in: query
      schema:
        type: string
      description: Artist query for `search_artists`.
    City:
      name: city
      in: query
      schema:
        type: string
      description: City filter.
    EventWeekSlug:
      name: event_week_slug
      in: query
      schema:
        type: string
      description: Event-week slug for event filtering.
    ArtistId:
      name: artist_id
      in: query
      schema:
        type: string
        format: uuid
      description: Resolve an artist by UUID.
    StartDateSnake:
      name: start_date
      in: query
      schema:
        type: string
        format: date
      description: Start date for artist performances.
    MinEvents:
      name: min_events
      in: query
      schema:
        type: integer
        minimum: 0
      description: Minimum tracked performance count.
    EventId:
      name: event_id
      in: query
      schema:
        type: string
        format: uuid
      description: Event UUID for set-time actions.
    EndDateSnake:
      name: end_date
      in: query
      schema:
        type: string
        format: date
      description: End date for artist performances.
    UpcomingOnly:
      name: upcoming_only
      in: query
      schema:
        type: boolean
        default: true
      description: Only future artist performances.
    SpotlightCities:
      name: cities
      in: query
      schema:
        type: string
      description: Comma-separated city filter for `spotlight_candidates` (at most 20; diacritics are folded). Artists match through the city of their next date.
    StartDateCamel:
      name: startDate
      in: query
      schema:
        type: string
        format: date
      description: Start date for event discovery.
    EditorialPick:
      name: editorial_pick
      in: query
      schema:
        type: boolean
        default: false
      description: Only return human-approved editorial picks. Requires city for discover/list.
    Longitude:
      name: longitude
      in: query
      schema:
        type: number
        format: double
      description: Longitude for `discover`; use with latitude.
    Cursor:
      name: cursor
      in: query
      schema:
        type: string
      description: Opaque next_cursor from api-events list; preserve all other filters. Advances by time and ID within the original 93-day window.
    NearLng:
      name: near_lng
      in: query
      schema:
        type: number
        format: double
      description: Reference longitude for distance sorting.
    Slug:
      name: slug
      in: query
      schema:
        type: string
      description: Resolve an artist or event week by slug.
    Stage:
      name: stage
      in: query
      schema:
        type: string
      description: Schedule stage filter.
    Query:
      name: query
      in: query
      schema:
        type: string
      description: Free-text search query.
    Name:
      name: name
      in: query
      schema:
        type: string
      description: Resolve an artist by exact name.
    NearLat:
      name: near_lat
      in: query
      schema:
        type: number
        format: double
      description: Reference latitude for distance sorting.
    Offset:
      name: offset
      in: query
      schema:
        type: integer
        minimum: 0
        maximum: 1000
        default: 0
      description: Bounded legacy pagination offset; prefer cursor for event lists.
    EditorialSeries:
      name: editorial_series
      in: query
      schema:
        type: string
        enum:
        - long5
        - crypto5
      description: Filter published picks by series. Requires editorial_pick=true. Omit to return both labeled series. LONG5 covers music/culture; CRYPTO5 covers crypto and broader tech.
    EndDateCamel:
      name: endDate
      in: query
      schema:
        type: string
        format: date
      description: End date for event discovery.
    SpotlightKind:
      name: kind
      in: query
      schema:
        type: string
        enum:
        - organizer
        - venue
        - artist
      description: Subject kind for `spotlight_candidates`.
    Country:
      name: country
      in: query
      schema:
        type: string
      description: Country filter.
    Latitude:
      name: latitude
      in: query
      schema:
        type: number
        format: double
      description: Latitude for `discover`; use with longitude.
    Limit:
      name: limit
      in: query
      schema:
        type: integer
        minimum: 1
      description: Maximum rows to return. Artist actions cap this at 100.
    SortBy:
      name: sort_by
      in: query
      schema:
        type: string
        enum:
        - date
        - distance
        default: date
      description: Event ordering.
    Source:
      name: source
      in: query
      schema:
        type: string
      description: Event-source filter for `list_artists`.
    Category:
      name: category
      in: query
      schema:
        type: string
      description: Event category filter.
  headers:
    RateReset:
      description: Rate-limit reset time. REST endpoints return an ISO timestamp; MCP returns Unix seconds.
      schema:
        type:
        - string
        - integer
    PaymentToken:
      description: Reusable bundled-payment session token.
      schema:
        type: string
    PaymentRequired:
      description: Base64-encoded x402-v2 requirements. `X-PAYMENT-REQUIREMENTS` is a compatibility alias.
      schema:
        type: string
    RateLimit:
      description: Maximum requests per minute for this principal; ceiling 300, shared across API/MCP lanes.
      schema:
        type: integer
    CallsRemaining:
      description: Calls remaining in the bundled-payment session.
      schema:
        type: integer
    RateRemaining:
      description: Requests remaining in the current minute.
      schema:
        type: integer
    PaymentResponse:
      description: Base64-encoded settlement receipt.
      schema:
        type: string
  responses:
    NotFound:
      $ref: '#/components/responses/Error404'
    ServerError:
      $ref: '#/components/responses/Error500'
    TooLarge:
      description: Response exceeds the 1 MiB payload boundary; narrow filters.
    BadRequest:
      $ref: '#/components/responses/Error400'
    Error500:
      description: Unexpected server error.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    PaymentRequired:
      description: No valid access lane was supplied. Select an accepted payment requirement and retry the same request.
      headers:
        PAYMENT-REQUIRED:
          $ref: '#/components/headers/PaymentRequired'
        X-PAYMENT-REQUIREMENTS:
          $ref: '#/components/headers/PaymentRequired'
      content:
        application/json:
          schema:
            type: object
            additionalProperties: true
    RateLimited:
      $ref: '#/components/responses/Error429'
    Error429:
      description: Request, concurrency or daily entity allowance exceeded; respect Retry-After, including UTC-day resets.
      headers:
        Retry-After:
          schema:
            type: integer
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateReset'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Error404:
      description: Requested event, artist, or event week was not found.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Error401:
      description: Invalid or expired credentials.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
    Suspended:
      description: Access suspended by principal or operation control.
    Unauthorized:
      $ref: '#/components/responses/Error401'
    Unavailable:
      description: Controls or accounting unavailable; retry using Retry-After.
      headers:
        Retry-After:
          schema:
            type: integer
    Success:
      description: Successful action. The `data` shape depends on the selected action.
      headers:
        X-RateLimit-Limit:
          $ref: '#/components/headers/RateLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/RateRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/RateReset'
        PAYMENT-RESPONSE:
          $ref: '#/components/headers/PaymentResponse'
        X-402-Token:
          $ref: '#/components/headers/PaymentToken'
        X-Calls-Remaining:
          $ref: '#/components/headers/CallsRemaining'
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/SuccessEnvelope'
    Error400:
      description: Invalid action or parameters.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorEnvelope'
  schemas:
    EventsRequest:
      type: object
      additionalProperties: false
      properties:
        action:
          $ref: '#/components/parameters/EventsAction/schema'
        latitude:
          type: number
        longitude:
          type: number
        city:
          type: string
        country:
          type: string
        category:
          type: string
        startDate:
          type: string
          format: date
        endDate:
          type: string
          format: date
        start_date:
          type: string
          format: date
        end_date:
          type: string
          format: date
        limit:
          type: integer
          minimum: 1
        offset:
          type: integer
          minimum: 0
          maximum: 1000
        cursor:
          type: string
          description: Opaque next_cursor from a list action with unchanged filters.
        near_lat:
          type: number
        near_lng:
          type: number
        radius_km:
          type: number
          minimum: 0
        sort_by:
          type: string
          enum:
          - date
          - distance
        editorial_pick:
          type: boolean
          default: false
        editorial_series:
          type: string
          enum:
          - long5
          - crypto5
          description: Requires editorial_pick=true. Omit to return both labeled series.
        event_id:
          type: string
          format: uuid
        event_week_id:
          type: string
          format: uuid
        event_week_slug:
          type: string
        date:
          type: string
          format: date
        stage:
          type: string
        artist_name:
          type: string
        artist_id:
          type: string
          format: uuid
        slug:
          type: string
        name:
          type: string
        query:
          type: string
        source:
          type: string
        min_events:
          type: integer
          minimum: 0
        upcoming_only:
          type: boolean
          default: true
        kind:
          type: string
          enum:
          - organizer
          - venue
          - artist
        cities:
          type: array
          items:
            type: string
          maxItems: 20
    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