
🏠 家园
播种希望
帮助每个家庭拥有一个可称之为家的住所——由我们的免税非营利机构 OseloHelp.com 提供资金支持。
全球音乐发行:即将上线!
TimTim.Live Developer Preview
An API is a door your program knocks on to ask TimTim.Live a question. Ask "events in Miami?" and it answers with a list, in a format called JSON. The address is https://api.timtim.live/v1. This page is read from the contract itself — TimTim.Live Partner API, version 1.0.0.
Every question carries your key, so TimTim.Live knows who is asking. Send it in the Authorization header: Bearer tt_….
tt_test_…
Sandbox. Sample events only. Free, made on the dashboard.
tt_pk_live_…
Website key. Safe in a web page. Locked to your domains.
tt_sk_live_…
Secret key. Server only. Never put it in a page or an app.
No key at all? GET /v1/demo/events answers anyone with sample events. Big companies can swap a name and password for a one-hour pass instead (OAuth, how). Most people do not need it.
| Method | Path | What it does | Key |
|---|---|---|---|
| GET | /v1/events | Find events | yes |
| GET | /v1/demo/events | Sample events, no key | none |
| GET | /v1/demo/events/{id} | One sample event, no key | none |
| GET | /v1/categories | Which categories have events | yes |
| GET | /v1/locations | Which cities have events | yes |
| GET | /v1/demo/categories | Sample categories, no key | none |
| GET | /v1/demo/locations | Sample cities, no key | none |
| POST | /v1/track | Say what a visitor saw and clicked | none |
| GET | /v1/events/{id} | One event | yes |
| GET | /v1/earnings | Your results | yes |
| GET | /v1/bulk/{file} | A custom bulk feed — every event a saved subscription covers, in one gzipped file | yes |
| GET | /v1/events/{id}/tickets | Ticket types you may sell in your own app (embedded commerce) | yes |
| POST | /v1/orders | Hold tickets for your buyer and get TimTim.Live's payment link | yes |
| GET | /v1/orders/{id} | The status of an order your company began | yes |
| GET | /v1/settlements | Your monthly statements (custom settlement) | yes |
| GET | /v1/offers | Card-linked offers (banks and rewards programmes) | yes |
| POST | /v1/oauth/token | Get an access token (OAuth 2.0 client credentials) | none |
| POST | /v1/oauth/revoke | End an access token early (RFC 7009) | none |
| GET | /v1/feeds/{file} | The same events as a feed | yes |
Want to press buttons instead of writing code? Import our Postman collection. How.
Each row is one endpoint: 19 in all. Long lists come in pages, as { object: "list", events: […], next }. Send next back as cursor to get the next page (cursor).
Ask GET /v1/events?changed_since=2026-10-06T10:00:00Z to get every event that changed after that time — including ones that ended or were cancelled. The answer also has a withdrawn list: events you may no longer show. Remove those ids. Or skip polling and use webhooks.
Every event has a status:
and tickets.availability: available, limited, sold_out, not_on_sale or ended. Hide the ticket button when it is sold_out or ended. See it happen.
Only events their organizers sell on TimTim.Live, that are published and public, and whose organizers left partner sharing on. Each event says so in can_share. Test keys get sample events only.
Each event has a buy link in tickets.buy_url. Send people there. TimTim.Live runs the checkout, the tickets and the refunds, and the sale is counted for your key. Do not change the link. Want to know which of your pages sent the buyer? Add ?sub_id= with your own click id. It comes back on the earning, the webhook and any postback.
Your results are in GET /v1/earnings.
A webhook is a message TimTim.Live sends to your server when something happens: event.changed, earnings.changed, conversion.postback. Add webhook addresses on the dashboard.
Each message carries a seal made with a secret only you and TimTim.Live know. Check it before you trust the message. The code below does it. The details: every delivery has TimTim-Signature: t=…,v1=…. v1 is HMAC-SHA256 of t + "." + the raw body with your webhook secret. Refuse it if the time is more than 5 minutes off, and use TimTim-Delivery-Id to ignore repeats.
// Node — Express with the RAW body (do not JSON.parse before checking)
import crypto from "node:crypto";
app.post("/timtim", express.raw({ type: "application/json" }), (req, res) => {
const header = req.get("TimTim-Signature") ?? ""; // t=1700000000,v1=<hex>
const parts = Object.fromEntries(header.split(",").map((p) => p.split("=")));
const body = req.body.toString("utf8");
const expected = crypto.createHmac("sha256", process.env.TIMTIM_WEBHOOK_SECRET)
.update(`${parts.t}.${body}`).digest("hex");
const fresh = Math.abs(Date.now() / 1000 - Number(parts.t)) <= 300;
const same = expected.length === (parts.v1 ?? "").length &&
crypto.timingSafeEqual(Buffer.from(expected), Buffer.from(parts.v1));
if (!fresh || !same) return res.sendStatus(400);
const message = JSON.parse(body); // { id, type, mode, data }
if (alreadyHandled(req.get("TimTim-Delivery-Id"))) return res.sendStatus(200);
// message.type === "event.changed" → message.data.event
// message.type === "earnings.changed" → message.data.earning
res.sendStatus(200);
});Reply "got it" (any 2xx code) within 10 seconds. If you do not, we try again after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h, 24 h — 8 tries in all. Test keys' webhooks retry the same way.
A rate limit is how many questions a key may ask in one minute.
The same question from a website key gets the same answer for 30 seconds. So a busy page is fast, and new events show up within half a minute.
Too many? You get 429 and a Retry-After header in seconds. Wait that long. See a real 429.
When something goes wrong, the answer says what happened (title) and what to do next (detail). It also has a code and a request_id. Send us the request id and we can find it. Technically it is application/problem+json (error answer). Every error code.
Learn how TimTim.Live distribution partnerships work.
Partner Program →我们的使命
我们邀请每个人共同为人类留下传承。
加入三项将比我们更长久的使命

播种希望
帮助每个家庭拥有一个可称之为家的住所——由我们的免税非营利机构 OseloHelp.com 提供资金支持。

通过音乐保存人类遗产
将人类的音乐与故事保存逾千年。

激励下一代探索者
让每个人都有探索太空的机会。

一种从跑道起飞、而非由火箭发射的太空飞机设计。这是一个概念,尚未建成。
了解它如何运作它们如何相互连接
这里没有独立的业务——每个环节都增强下一个环节。
一个使命,多项相互强化的业务。
无论你是聆听一首歌、分享一个故事、穿戴周边、参加演出、翻译歌词、推荐一个国家,还是只是告诉朋友——你都成为了一个为世代传承而打造事业的一部分。
人人皆可参与。没有任何贡献太微小。
TimTim.Live — 用音乐探索世界。
连接全球 195 个国家的人们——目前已有 3,004,606+ 个艺术家页面,将扩展至 400 万以上 · 8,684,003+ 个商家页面,将扩展至 4 亿 · 本站将翻译成全球 417 种地方语言。
TimTim.Live 已收录全部 195 个国家的 233,870 个地点,覆盖小至 1,000 人的社区,其中包括:
257 个州 • 1,690 个省 • 4,808 个县 • 41,161 个区 • 13,471 座城市 • 117,896 个城镇 • 40,988 个村庄
© 2026 TimTim.Live. 版权所有。