Skip to content

About

The TimTim.Live Event API contract (OpenAPI 3.1), JSON Schemas, examples and a Postman collection.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

TimTim.Live OpenAPI

Developer Preview. The contract is real and in use; this repository is new.

The API contract for TimTim.Live — the one file that says exactly what the API does — plus things made from it.

Live Demo · Documentation · Sandbox · Developer Access · Community

What is in here

Path What it is Made how
openapi.yaml The contract, OpenAPI 3.1 Copied byte for byte from TimTim.Live's source of truth (also served at https://timtim.live/partner-api/openapi.yaml)
schemas/ One JSON Schema (2020-12) per object: Event, Category, Location, Earning, Order, TicketType, Offer, Settlement, Problem, Withdrawn Generated from openapi.yaml
examples/ Real requests and responses, listed in examples/manifest.json live-capture: saved from the live API (calls that need no key). illustrative: hand-written for calls that need a key — the file name says .illustrative.
postman/timtim-api.postman_collection.json A Postman collection Generated from the contract by scripts/generate.mjs, in folders

Every example is validated against the contract on every change.

Try it in 30 seconds

No key needed:

curl "https://api.timtim.live/v1/demo/events?city=Miami&category=music"

You get sample events. Every name starts with "TEST EVENT — NO REAL MONEY".

What you can ask for

Ask Address Key?
Events (by city, country, type, dates, artist, near a point) GET /v1/events Yes — or GET /v1/demo/events with no key (sample events)
One event, even if cancelled or ended GET /v1/events/{id} Yes
Which event types have events GET /v1/categories Yes — or GET /v1/demo/categories
Which cities have events GET /v1/locations Yes — or GET /v1/demo/locations
Count what visitors saw and clicked (never money) POST /v1/track No
Feeds for calendars, RSS, spreadsheets GET /v1/feeds/{file} A website or test key in the address
Your results, orders, statements, offers /v1/earnings, /v1/orders, /v1/settlements, /v1/offers A server key or test key

All at https://api.timtim.live. Every error is plain words in the same shape (application/problem+json).

AI assistants use the same events through an MCP server, not this REST contract: https://api.timtim.live/v1/mcp — steps at https://timtim.live/developers/ai.

Postman

  1. In Postman: Import → choose postman/timtim-api.postman_collection.json.
  2. Send Start here: sample events (no key). It works with no key.
  3. Get a free test key (tt_test_…) at https://timtim.live/partners/dashboard and paste it into the collection variable apiKey.
  4. Work down the folders, top to bottom. They start with Authentication and Search Events, and end with Errors and Earnings.

The Webhooks folder sends correctly signed deliveries to your endpoint (webhookUrl, webhookSecret), so you can test your signature check.

Use the schemas

import Ajv2020 from "ajv/dist/2020.js";
import event from "./schemas/Event.schema.json" with { type: "json" };
const validate = new Ajv2020({ strict: false }).compile(event);

Each file has an $id. If one schema ever refers to another, it uses a relative $ref like Event.schema.json, so keep the folder together.

For contributors

npm ci
npm test                    # = lint + generated files fresh + examples valid
npm run generate            # rebuild schemas/ and postman/ after openapi.yaml changes
npm run capture:examples    # refresh the live captures (no key needed)
npm run check:contract      # is openapi.yaml the one TimTim.Live publishes?

Do not edit openapi.yaml here. It is published from TimTim.Live's source of truth. To ask for a change to the API, open an issue — see CONTRIBUTING.md.

Documentation

Security

Report security problems privately: Report a vulnerability on this repository's Security tab. Policy: https://timtim.live/partners/security. See SECURITY.md.

TimTim.Live Developer Tools

Open-source tools for connecting websites, apps and platforms to TimTim.Live.

What is open source

SDKs, widgets, adapters, examples and public API specifications.

What is not included

This code shows events. It does not include TimTim.Live's own servers. Tickets, payments, payouts, fraud checks and everyone's private data stay with TimTim.Live. You reach them through the API.

These tools connect to the hosted TimTim.Live API at:

https://api.timtim.live

Open-source licenses for client software do not grant ownership of TimTim.Live event data, API services, commercial rights, certification marks or trademarks.

License

This description file and everything here: MIT © 2026 timtim-live. Using the API itself is governed by the Partner Terms: https://timtim.live/partners/terms

About

The TimTim.Live Event API contract (OpenAPI 3.1), JSON Schemas, examples and a Postman collection.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages