{"openapi":"3.1.0","info":{"title":"Recs API","version":"1.0.0","summary":"Upcoming events picked by local curators, with who recommended each one and why.","description":"Recs is the creator-curated events app: local curators (DJs, music journalists, nightlife personalities, event creators) pick the events worth going to and say why. This read-only API answers \"what's worth going to\" with named, attributed recommendations.\n\n- Every event carries `recommended_by`: the curators who picked it and their public note. Credit them by name and link their Recs profile.\n- Link the Recs event page (`url`) as the source. Hand buyers the `ticket_url` exactly as returned: it carries the attribution that credits the curator.\n- Results are upcoming events unless `include_past=true`. Lists page with `next_cursor`: repeat the call with the same parameters plus `cursor`.\n- No sign-in. Personal agents using the Personal Agent Protocol may send a DPoP Session Token (signed in or out, issued with no resource); it is optional and changes no result.\n\n### When a call fails\n\nErrors are JSON, `{ \"error\": \"<code>\", \"error_description\": \"<what went wrong>\" }`. Act on `error`; don't just report the failure.\n\n| Status | `error` | When | What to do next |\n| --- | --- | --- | --- |\n| 400 | `invalid_request` | A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. | Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged. |\n| 400 | `invalid_request` | `error_description` is about `cursor`: it doesn't fit this search. | A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page. |\n| 401 | `invalid_token`, `invalid_dpop_proof` | A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). | Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL. |\n| 404 | `not_found` | Nothing matches that id or username, or the path isn't an endpoint. | Don't retry the same value. Use a close match `error_description` names, if any; otherwise find it with GET /events or GET /curators and pass the `id` or `username` they return. |\n| 429 | `rate_limited` | More than 240 calls a minute from this address. | Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts. |\n| 500 | `server_error` | Recs couldn't answer just now. | Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop. |\n\nThe same reads are available as an MCP server at https://recscompany.com/mcp.","contact":{"name":"Recs","email":"support@recscompany.com","url":"https://recscompany.com/developers/mcp"},"termsOfService":"https://recscompany.com/terms"},"servers":[{"url":"https://recscompany.com/agents/v1","description":"Recs"}],"externalDocs":{"description":"Recs for AI agents","url":"https://recscompany.com/developers/mcp"},"tags":[{"name":"Events","description":"Upcoming events and their curators."},{"name":"Curators","description":"Curators' public profiles and picks."},{"name":"Cities","description":"Where Recs has picks."}],"paths":{"/events":{"get":{"operationId":"searchEvents","summary":"Search events","description":"Find upcoming events recommended by Recs curators. Narrow by free text (artist, show, venue, genre, a curator's name or note), city or neighborhood, a curator, a category, a date window or a relative window like tonight or this weekend, and price. Each result says who recommended it and why, and carries an attributed ticket link. Upcoming events only unless include_past is true. Pages with next_cursor; notes explain how a city or query was read; an empty result carries a hint naming the cities that do have events.","tags":["Events"],"parameters":[{"name":"query","in":"query","required":false,"description":"Free text: an artist, show, venue, genre or vibe, e.g. \"techno\" or \"emo night\". Every word has to match something public about the event. Words like \"tonight\", \"this weekend\" and \"free\" are read as filters.","schema":{"type":"string","maxLength":200}},{"name":"city","in":"query","required":false,"description":"City, borough or neighborhood, e.g. \"New York\", \"NYC\", \"Brooklyn, NY\" or \"Bushwick\". New York covers all five boroughs; a neighborhood is searched as its borough.","schema":{"type":"string","maxLength":100}},{"name":"nearby","in":"query","required":false,"description":"Also include the surrounding metro area (Jersey City and Hoboken for New York). Default false.","schema":{"type":"boolean"}},{"name":"curator","in":"query","required":false,"description":"Only events picked by this curator: username, @handle or display name.","schema":{"type":"string","maxLength":100}},{"name":"category","in":"query","required":false,"description":"A Recs category name or slug, e.g. \"music\", \"nightlife\", \"comedy\" or \"food-drink\". Nightlife includes DJ sets and club nights. Most events have no category yet, so this also finds uncategorized events whose own words point to it; notes say how it was read.","schema":{"type":"string","maxLength":100}},{"name":"when","in":"query","required":false,"description":"A relative window, read in each venue's own time zone: today, tonight (same as today), tomorrow, this_weekend (Friday to Sunday), next_weekend, this_week (through Sunday), next_week, next_7_days, this_month, next_30_days, or a weekday name like friday (the next one, today included). Combines with from and to.","schema":{"type":"string","enum":["today","tonight","tomorrow","this_weekend","next_weekend","this_week","next_week","next_7_days","this_month","next_30_days","monday","tuesday","wednesday","thursday","friday","saturday","sunday"]}},{"name":"from","in":"query","required":false,"description":"Earliest event date, YYYY-MM-DD.","schema":{"type":"string","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:$|[T ])"}},{"name":"to","in":"query","required":false,"description":"Latest event date, YYYY-MM-DD.","schema":{"type":"string","maxLength":40,"pattern":"^\\d{4}-\\d{2}-\\d{2}(?:$|[T ])"}},{"name":"free","in":"query","required":false,"description":"Only events with a known price of zero.","schema":{"type":"boolean"}},{"name":"max_price","in":"query","required":false,"description":"Only events whose lowest known ticket price is at or under this, in the event's currency. Events with no known price are left out.","schema":{"type":"number","minimum":0}},{"name":"include_past","in":"query","required":false,"description":"Also return events that already happened (newest first). Default false.","schema":{"type":"boolean"}},{"name":"limit","in":"query","required":false,"description":"How many results to return (1 to 50).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from a previous call, to get the next page. Pass the same other arguments as that call.","schema":{"type":"string","maxLength":500}}],"security":[{},{"papSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchEventsResponse"}}}},"400":{"description":"A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged.\n\n`error_description` is about `cursor`: it doesn't fit this search. A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 240 calls a minute from this address. Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts.","headers":{"Retry-After":{"description":"Seconds to wait before the next call.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Recs couldn't answer just now. Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/events/{id}":{"get":{"operationId":"getEvent","summary":"Get an event","description":"One event in full: description, venue, dates, price, the curators who recommended it with their notes, and an attributed ticket link. Takes a Recs event URL, an event id, or the slug from the URL.","tags":["Events"],"parameters":[{"name":"id","in":"path","required":true,"description":"A Recs event URL (https://recscompany.com/event/...), an event id, or the URL slug.","schema":{"type":"string","maxLength":500}}],"security":[{},{"papSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetEventResponse"}}}},"400":{"description":"A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged.\n\n`error_description` is about `cursor`: it doesn't fit this search. A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Nothing matches that id or username, or the path isn't an endpoint. Don't retry the same value. Use a close match `error_description` names, if any; otherwise find it with GET /events or GET /curators and pass the `id` or `username` they return.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 240 calls a minute from this address. Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts.","headers":{"Retry-After":{"description":"Seconds to wait before the next call.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Recs couldn't answer just now. Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/curators":{"get":{"operationId":"listCurators","summary":"List curators","description":"Curators to follow, those with the most upcoming picks first. Pass a city to get curators with upcoming picks there, then curators based there (based_in_city); a city with none carries a hint naming cities that have them. Pages with next_cursor.","tags":["Curators"],"parameters":[{"name":"city","in":"query","required":false,"description":"City, borough or neighborhood, e.g. \"NYC\" or \"Brooklyn\". Curators with upcoming picks there come first, then curators based there.","schema":{"type":"string","maxLength":100}},{"name":"nearby","in":"query","required":false,"description":"Also include the surrounding metro area (Jersey City and Hoboken for New York). Default false.","schema":{"type":"boolean"}},{"name":"limit","in":"query","required":false,"description":"How many results to return (1 to 50).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from a previous call, to get the next page. Pass the same other arguments as that call.","schema":{"type":"string","maxLength":500}}],"security":[{},{"papSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCuratorsResponse"}}}},"400":{"description":"A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged.\n\n`error_description` is about `cursor`: it doesn't fit this search. A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 240 calls a minute from this address. Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts.","headers":{"Retry-After":{"description":"Seconds to wait before the next call.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Recs couldn't answer just now. Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/curators/{username}":{"get":{"operationId":"getCurator","summary":"Get a curator","description":"A curator's public profile (bio, location, social links) and their upcoming picks with notes. Takes a username, @handle or profile URL. Picks page with next_cursor.","tags":["Curators"],"parameters":[{"name":"username","in":"path","required":true,"description":"Curator username, @handle or https://recscompany.com/<username>.","schema":{"type":"string","maxLength":200}},{"name":"limit","in":"query","required":false,"description":"How many upcoming picks to include (1 to 50).","schema":{"type":"integer","minimum":1,"maximum":50}},{"name":"cursor","in":"query","required":false,"description":"The next_cursor from a previous call, to get the next page. Pass the same other arguments as that call.","schema":{"type":"string","maxLength":500}}],"security":[{},{"papSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GetCuratorResponse"}}}},"400":{"description":"A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged.\n\n`error_description` is about `cursor`: it doesn't fit this search. A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"404":{"description":"Nothing matches that id or username, or the path isn't an endpoint. Don't retry the same value. Use a close match `error_description` names, if any; otherwise find it with GET /events or GET /curators and pass the `id` or `username` they return.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 240 calls a minute from this address. Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts.","headers":{"Retry-After":{"description":"Seconds to wait before the next call.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Recs couldn't answer just now. Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}},"/cities":{"get":{"operationId":"listCities","summary":"List cities","description":"Cities that currently have upcoming events on Recs, with how many events, how many of them curators picked, and how many curators. Cities with the most curator picks come first.","tags":["Cities"],"parameters":[{"name":"limit","in":"query","required":false,"description":"How many results to return (1 to 50).","schema":{"type":"integer","minimum":1,"maximum":50}}],"security":[{},{"papSession":[]}],"responses":{"200":{"description":"OK","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListCitiesResponse"}}}},"400":{"description":"A parameter is unknown, repeated, missing or the wrong type; `error_description` names it. Fix that parameter and call again. Send only the parameters this document lists, each once. Don't resend the same request unchanged.\n\n`error_description` is about `cursor`: it doesn't fit this search. A cursor works only with the exact parameters of the call that returned it. Drop `cursor`, keep the other parameters, and start again from the first page.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"401":{"description":"A Session Token was sent and isn't valid here (DPoP only, issued with no resource, with a proof for this URL). Call again without the Authorization and DPoP headers: anonymous calls get the same results. To keep using a token, get a new Session Token (see /.well-known/poppy.json) and sign a fresh DPoP proof for this exact URL.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"429":{"description":"More than 240 calls a minute from this address. Wait the number of seconds in `Retry-After`, then carry on where you left off. Don't retry sooner, and space calls out rather than sending them in bursts.","headers":{"Retry-After":{"description":"Seconds to wait before the next call.","schema":{"type":"integer"}}},"content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Recs couldn't answer just now. Wait a few seconds and retry once. If it fails again, tell the user Recs is unavailable right now rather than retrying in a loop.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"string","description":"invalid_request, not_found, invalid_token, invalid_dpop_proof, rate_limited or server_error. What to do next for each is in the response's description and under \"When a call fails\" in info.description."},"error_description":{"type":"string","description":"What went wrong, in a sentence: the parameter at fault, or close matches for a username."}}},"SearchEventsResponse":{"type":"object","properties":{"events":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Recs event id."},"url":{"description":"The Recs event page. Link it as the source.","type":["string","null"]},"title":{"type":"string"},"headliner":{"type":["string","null"]},"description":{"type":["string","null"]},"start":{"description":"ISO 8601, local to the venue with its UTC offset when the time is known, else a bare date.","type":["string","null"]},"end":{"type":["string","null"]},"date":{"description":"Local event date, YYYY-MM-DD.","type":["string","null"]},"time_zone":{"type":["string","null"]},"is_past":{"type":["boolean","null"]},"is_cancelled":{"type":"boolean","description":"The event was cancelled. Search leaves these out."},"venue":{"type":"object","properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["name","address","city","state","country"],"additionalProperties":false},"category":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]},"parent":{"type":["string","null"]},"parent_slug":{"type":["string","null"]}},"required":["name","slug","parent","parent_slug"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"price":{"anyOf":[{"type":"object","properties":{"low":{"type":["number","null"]},"high":{"type":["number","null"]},"currency":{"type":"string"}},"required":["low","high","currency"],"additionalProperties":false},{"type":"null"}]},"availability":{"type":"object","properties":{"status":{"type":["string","null"]},"sold_out":{"type":"boolean"}},"required":["status","sold_out"],"additionalProperties":false},"image_url":{"type":["string","null"]},"know_before_you_go":{"anyOf":[{"type":"object","properties":{"age_restriction":{"description":"e.g. \"18+\", \"21+\", \"All ages\".","type":["string","null"]},"duration_minutes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"doors_time":{"description":"Local HH:mm, when doors differ from the start.","type":["string","null"]},"included":{"type":"array","items":{"type":"string"}},"dress_code":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"note":{"type":["string","null"]}},"required":["label","note"],"additionalProperties":false},{"type":"null"}]},"refund":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["free_until","partial","none"]},"days_before":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"note":{"type":["string","null"]}},"required":["kind","days_before","note"],"additionalProperties":false},{"type":"null"}]},"capacity":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Maximum guests (not tickets left)."},"languages":{"type":"array","items":{"type":"string"}},"accessibility":{"type":"array","items":{"type":"string"}},"neighborhood":{"type":["string","null"]}},"required":["age_restriction","duration_minutes","doors_time","included","dress_code","refund","capacity","languages","accessibility","neighborhood"],"additionalProperties":false},{"type":"null"}],"description":"Logistics to tell a buyer before they purchase. Null when Recs knows none."},"organizer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]}},"required":["name","slug"],"additionalProperties":false},{"type":"null"}]},"ticket_url":{"description":"Attributed ticket link. Hand it to buyers unchanged.","type":["string","null"]},"recommended_by":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"name":{"type":["string","null"]},"verified":{"type":"boolean"},"note":{"description":"The curator's public note on this pick.","type":["string","null"]},"tag":{"description":"The curator's own label for this pick, e.g. \"Bucket list\".","type":["string","null"]},"relationship":{"description":"The curator's stake in the event: \"Promoting\", \"Hosting\" or \"DJing\". Null for a plain recommendation.","type":["string","null"]},"added_at":{"type":["string","null"]},"url":{"description":"The curator's Recs profile.","type":["string","null"]}},"required":["username","name","verified","note","tag","relationship","added_at","url"],"additionalProperties":false},"description":"The curators who picked this event. Credit them by name."}},"required":["id","url","title","headliner","description","start","end","date","time_zone","is_past","is_cancelled","venue","category","tags","price","availability","image_url","know_before_you_go","organizer","ticket_url","recommended_by"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"next_cursor":{"description":"Pass as `cursor`, with the same arguments, for the next page. Null on the last page.","type":["string","null"]},"filters":{"type":"object","properties":{"query":{"type":["string","null"]},"city":{"type":["string","null"]},"curator":{"type":["string","null"]},"category":{"type":["string","null"]},"from":{"type":["string","null"]},"to":{"type":["string","null"]},"include_past":{"type":"boolean"},"limit":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"when":{"description":"The relative window applied, from the when argument or the query.","type":["string","null"]},"free":{"type":"boolean"},"max_price":{"type":["number","null"]},"nearby":{"type":"boolean"},"cities":{"anyOf":[{"type":"array","items":{"type":"string"}},{"type":"null"}],"description":"The stored city names the city argument covered."},"terms":{"type":"array","items":{"type":"string"},"description":"The query words every result had to match."}},"required":["query","city","curator","category","from","to","include_past","limit","when","free","max_price","nearby","cities","terms"],"additionalProperties":false},"notes":{"description":"How the city or query was read, e.g. a neighborhood searched as its borough. Present only when there is something to say.","type":"array","items":{"type":"string"}},"hint":{"type":"object","properties":{"message":{"type":"string","description":"One line for the model: what to offer instead of an empty answer."},"cities":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"upcoming_events":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Upcoming events search_events returns for this city."},"curator_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many of them a Recs curator picked."},"curators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["city","state","country","upcoming_events","curator_picks","curators"],"additionalProperties":false},"description":"Cities that do have upcoming events, curator picks first."},"nearby":{"anyOf":[{"type":"object","properties":{"basis":{"type":"string","enum":["state","country"]},"region":{"type":"string"},"cities":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"upcoming_events":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Upcoming events search_events returns for this city."},"curator_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many of them a Recs curator picked."},"curators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["city","state","country","upcoming_events","curator_picks","curators"],"additionalProperties":false}}},"required":["basis","region","cities"],"additionalProperties":false},{"type":"null"}],"description":"For a city with no events: the cities with events in the same state, else the same country."}},"required":["message","cities","nearby"],"additionalProperties":false,"description":"Present only when nothing matched on the first page."}},"required":["events","count","next_cursor","filters"],"additionalProperties":false},"GetEventResponse":{"type":"object","properties":{"event":{"type":"object","properties":{"id":{"type":"string","description":"Recs event id."},"url":{"description":"The Recs event page. Link it as the source.","type":["string","null"]},"title":{"type":"string"},"headliner":{"type":["string","null"]},"description":{"type":["string","null"]},"start":{"description":"ISO 8601, local to the venue with its UTC offset when the time is known, else a bare date.","type":["string","null"]},"end":{"type":["string","null"]},"date":{"description":"Local event date, YYYY-MM-DD.","type":["string","null"]},"time_zone":{"type":["string","null"]},"is_past":{"type":["boolean","null"]},"is_cancelled":{"type":"boolean","description":"The event was cancelled. Search leaves these out."},"venue":{"type":"object","properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["name","address","city","state","country"],"additionalProperties":false},"category":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]},"parent":{"type":["string","null"]},"parent_slug":{"type":["string","null"]}},"required":["name","slug","parent","parent_slug"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"price":{"anyOf":[{"type":"object","properties":{"low":{"type":["number","null"]},"high":{"type":["number","null"]},"currency":{"type":"string"}},"required":["low","high","currency"],"additionalProperties":false},{"type":"null"}]},"availability":{"type":"object","properties":{"status":{"type":["string","null"]},"sold_out":{"type":"boolean"}},"required":["status","sold_out"],"additionalProperties":false},"image_url":{"type":["string","null"]},"know_before_you_go":{"anyOf":[{"type":"object","properties":{"age_restriction":{"description":"e.g. \"18+\", \"21+\", \"All ages\".","type":["string","null"]},"duration_minutes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"doors_time":{"description":"Local HH:mm, when doors differ from the start.","type":["string","null"]},"included":{"type":"array","items":{"type":"string"}},"dress_code":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"note":{"type":["string","null"]}},"required":["label","note"],"additionalProperties":false},{"type":"null"}]},"refund":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["free_until","partial","none"]},"days_before":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"note":{"type":["string","null"]}},"required":["kind","days_before","note"],"additionalProperties":false},{"type":"null"}]},"capacity":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Maximum guests (not tickets left)."},"languages":{"type":"array","items":{"type":"string"}},"accessibility":{"type":"array","items":{"type":"string"}},"neighborhood":{"type":["string","null"]}},"required":["age_restriction","duration_minutes","doors_time","included","dress_code","refund","capacity","languages","accessibility","neighborhood"],"additionalProperties":false},{"type":"null"}],"description":"Logistics to tell a buyer before they purchase. Null when Recs knows none."},"organizer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]}},"required":["name","slug"],"additionalProperties":false},{"type":"null"}]},"ticket_url":{"description":"Attributed ticket link. Hand it to buyers unchanged.","type":["string","null"]},"recommended_by":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"name":{"type":["string","null"]},"verified":{"type":"boolean"},"note":{"description":"The curator's public note on this pick.","type":["string","null"]},"tag":{"description":"The curator's own label for this pick, e.g. \"Bucket list\".","type":["string","null"]},"relationship":{"description":"The curator's stake in the event: \"Promoting\", \"Hosting\" or \"DJing\". Null for a plain recommendation.","type":["string","null"]},"added_at":{"type":["string","null"]},"url":{"description":"The curator's Recs profile.","type":["string","null"]}},"required":["username","name","verified","note","tag","relationship","added_at","url"],"additionalProperties":false},"description":"The curators who picked this event. Credit them by name."}},"required":["id","url","title","headliner","description","start","end","date","time_zone","is_past","is_cancelled","venue","category","tags","price","availability","image_url","know_before_you_go","organizer","ticket_url","recommended_by"],"additionalProperties":false}},"required":["event"],"additionalProperties":false},"ListCuratorsResponse":{"type":"object","properties":{"curators":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"name":{"type":["string","null"]},"url":{"description":"The curator's Recs profile.","type":["string","null"]},"bio":{"type":["string","null"]},"location":{"type":["string","null"]},"verified":{"type":"boolean"},"avatar_url":{"type":["string","null"]},"links":{"type":"object","properties":{"instagram":{"type":["string","null"]},"tiktok":{"type":["string","null"]},"website":{"type":["string","null"]},"link_in_bio":{"type":["string","null"]}},"required":["instagram","tiktok","website","link_in_bio"],"additionalProperties":false},"member_since":{"type":["string","null"]},"upcoming_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"based_in_city":{"description":"With a city: whether the curator's own profile location is in it.","type":"boolean"}},"required":["username","name","url","bio","location","verified","avatar_url","links","member_since","upcoming_picks"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"next_cursor":{"description":"Pass as `cursor`, with the same arguments, for the next page. Null on the last page.","type":["string","null"]},"city":{"type":["string","null"]},"notes":{"description":"How the city or query was read, e.g. a neighborhood searched as its borough. Present only when there is something to say.","type":"array","items":{"type":"string"}},"hint":{"type":"object","properties":{"message":{"type":"string","description":"One line for the model: what to offer instead of an empty answer."},"cities":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"upcoming_events":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Upcoming events search_events returns for this city."},"curator_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many of them a Recs curator picked."},"curators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["city","state","country","upcoming_events","curator_picks","curators"],"additionalProperties":false},"description":"Cities that do have upcoming events, curator picks first."},"nearby":{"anyOf":[{"type":"object","properties":{"basis":{"type":"string","enum":["state","country"]},"region":{"type":"string"},"cities":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"upcoming_events":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Upcoming events search_events returns for this city."},"curator_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many of them a Recs curator picked."},"curators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["city","state","country","upcoming_events","curator_picks","curators"],"additionalProperties":false}}},"required":["basis","region","cities"],"additionalProperties":false},{"type":"null"}],"description":"For a city with no events: the cities with events in the same state, else the same country."}},"required":["message","cities","nearby"],"additionalProperties":false,"description":"Present only when nothing matched on the first page."}},"required":["curators","count","next_cursor","city"],"additionalProperties":false},"GetCuratorResponse":{"type":"object","properties":{"curator":{"type":"object","properties":{"username":{"type":"string"},"name":{"type":["string","null"]},"url":{"description":"The curator's Recs profile.","type":["string","null"]},"bio":{"type":["string","null"]},"location":{"type":["string","null"]},"verified":{"type":"boolean"},"avatar_url":{"type":["string","null"]},"links":{"type":"object","properties":{"instagram":{"type":["string","null"]},"tiktok":{"type":["string","null"]},"website":{"type":["string","null"]},"link_in_bio":{"type":["string","null"]}},"required":["instagram","tiktok","website","link_in_bio"],"additionalProperties":false},"member_since":{"type":["string","null"]},"upcoming_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"total_picks":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]}},"required":["username","name","url","bio","location","verified","avatar_url","links","member_since","upcoming_picks","total_picks"],"additionalProperties":false},"upcoming_picks":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string","description":"Recs event id."},"url":{"description":"The Recs event page. Link it as the source.","type":["string","null"]},"title":{"type":"string"},"headliner":{"type":["string","null"]},"description":{"type":["string","null"]},"start":{"description":"ISO 8601, local to the venue with its UTC offset when the time is known, else a bare date.","type":["string","null"]},"end":{"type":["string","null"]},"date":{"description":"Local event date, YYYY-MM-DD.","type":["string","null"]},"time_zone":{"type":["string","null"]},"is_past":{"type":["boolean","null"]},"is_cancelled":{"type":"boolean","description":"The event was cancelled. Search leaves these out."},"venue":{"type":"object","properties":{"name":{"type":["string","null"]},"address":{"type":["string","null"]},"city":{"type":["string","null"]},"state":{"type":["string","null"]},"country":{"type":["string","null"]}},"required":["name","address","city","state","country"],"additionalProperties":false},"category":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]},"parent":{"type":["string","null"]},"parent_slug":{"type":["string","null"]}},"required":["name","slug","parent","parent_slug"],"additionalProperties":false},{"type":"null"}]},"tags":{"type":"array","items":{"type":"string"}},"price":{"anyOf":[{"type":"object","properties":{"low":{"type":["number","null"]},"high":{"type":["number","null"]},"currency":{"type":"string"}},"required":["low","high","currency"],"additionalProperties":false},{"type":"null"}]},"availability":{"type":"object","properties":{"status":{"type":["string","null"]},"sold_out":{"type":"boolean"}},"required":["status","sold_out"],"additionalProperties":false},"image_url":{"type":["string","null"]},"know_before_you_go":{"anyOf":[{"type":"object","properties":{"age_restriction":{"description":"e.g. \"18+\", \"21+\", \"All ages\".","type":["string","null"]},"duration_minutes":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"doors_time":{"description":"Local HH:mm, when doors differ from the start.","type":["string","null"]},"included":{"type":"array","items":{"type":"string"}},"dress_code":{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"note":{"type":["string","null"]}},"required":["label","note"],"additionalProperties":false},{"type":"null"}]},"refund":{"anyOf":[{"type":"object","properties":{"kind":{"type":"string","enum":["free_until","partial","none"]},"days_before":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"note":{"type":["string","null"]}},"required":["kind","days_before","note"],"additionalProperties":false},{"type":"null"}]},"capacity":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}],"description":"Maximum guests (not tickets left)."},"languages":{"type":"array","items":{"type":"string"}},"accessibility":{"type":"array","items":{"type":"string"}},"neighborhood":{"type":["string","null"]}},"required":["age_restriction","duration_minutes","doors_time","included","dress_code","refund","capacity","languages","accessibility","neighborhood"],"additionalProperties":false},{"type":"null"}],"description":"Logistics to tell a buyer before they purchase. Null when Recs knows none."},"organizer":{"anyOf":[{"type":"object","properties":{"name":{"type":"string"},"slug":{"type":["string","null"]}},"required":["name","slug"],"additionalProperties":false},{"type":"null"}]},"ticket_url":{"description":"Attributed ticket link. Hand it to buyers unchanged.","type":["string","null"]},"recommended_by":{"type":"array","items":{"type":"object","properties":{"username":{"type":"string"},"name":{"type":["string","null"]},"verified":{"type":"boolean"},"note":{"description":"The curator's public note on this pick.","type":["string","null"]},"tag":{"description":"The curator's own label for this pick, e.g. \"Bucket list\".","type":["string","null"]},"relationship":{"description":"The curator's stake in the event: \"Promoting\", \"Hosting\" or \"DJing\". Null for a plain recommendation.","type":["string","null"]},"added_at":{"type":["string","null"]},"url":{"description":"The curator's Recs profile.","type":["string","null"]}},"required":["username","name","verified","note","tag","relationship","added_at","url"],"additionalProperties":false},"description":"The curators who picked this event. Credit them by name."}},"required":["id","url","title","headliner","description","start","end","date","time_zone","is_past","is_cancelled","venue","category","tags","price","availability","image_url","know_before_you_go","organizer","ticket_url","recommended_by"],"additionalProperties":false}},"next_cursor":{"description":"Pass as `cursor`, with the same arguments, for the next page. Null on the last page.","type":["string","null"]}},"required":["curator","upcoming_picks","next_cursor"],"additionalProperties":false},"ListCitiesResponse":{"type":"object","properties":{"cities":{"type":"array","items":{"type":"object","properties":{"city":{"type":"string"},"state":{"type":["string","null"]},"country":{"type":["string","null"]},"upcoming_events":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"Upcoming events search_events returns for this city."},"curator_picks":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991,"description":"How many of them a Recs curator picked."},"curators":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["city","state","country","upcoming_events","curator_picks","curators"],"additionalProperties":false}},"count":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}},"required":["cities","count"],"additionalProperties":false}},"securitySchemes":{"papSession":{"type":"http","scheme":"DPoP","description":"Optional. A Personal Agent Protocol Session Token (see /.well-known/poppy.json) with a DPoP proof for this URL. Anonymous calls get the same results."}}}}