{"openapi":"3.1.1","info":{"title":"tikstat API","version":"0.1.0","description":"Public endpoints of the tikstat. Data comes from public TikTok LIVE data."},"servers":[{"url":"https://localhost:3000"}],"paths":{"/api/lookup":{"get":{"summary":"Is this creator live?","description":"Looks up a TikTok handle: profile, and whether they are live now. Answers are kept for 10 minutes.","parameters":[{"name":"handle","in":"query","required":true,"schema":{"type":"string","pattern":"^@?[a-z0-9._]{2,24}$"},"description":"TikTok handle, with or without @"}],"responses":{"200":{"description":"Lookup result, or { error, down: true } when the data server is off."},"400":{"description":"Not a TikTok handle."},"404":{"description":"No TikTok user with that handle."}}}}}}