Venue
curl --request POST \
--url https://api.aisa.one/apis/v1/todaytix-com/events/venue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"venue_slug": "stephen-sondheim-theatre"
}
'import requests
url = "https://api.aisa.one/apis/v1/todaytix-com/events/venue"
payload = { "venue_slug": "stephen-sondheim-theatre" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({venue_slug: 'stephen-sondheim-theatre'})
};
fetch('https://api.aisa.one/apis/v1/todaytix-com/events/venue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/todaytix-com/events/venue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'venue_slug' => 'stephen-sondheim-theatre'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/todaytix-com/events/venue"
payload := strings.NewReader("{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/todaytix-com/events/venue")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/todaytix-com/events/venue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}"
response = http.request(request)
puts response.read_body{
"accessibility": "Wheelchair and transfer seating on Orchestra and Mezzanine levels via elevator, accessible restrooms, assisted listening devices, audio described/captioned performances.",
"address": {
"city": "New York",
"country": "USA",
"country_code": "US",
"postal_code": "10036",
"state": "NY",
"street1": "124 West 43rd Street (between Broadway and 6th Avenue)",
"street2": null
},
"area": "Broadway",
"capacity": 1055,
"description": "The Stephen Sondheim Theatre is a treasured gem within the heart of New York City. Located in the bustling Times Square district, it stands proudly, retaining its historical charm midst contemporary edifices. The theatre, formerly known as Henry Miller's Theatre, is deeply rooted in theatrical history, having hosted numerous Broadway classics since its inception in 1918. It boasts art nouveau architecture bathed in gentle, welcoming lights, with intricate details that add to its grandeur. A walk inside reveals a relaxing ambiance with ornamented ceilings, beautiful chandeliers, red velvet seats, and a sizeable stage that brings performances to life. Dedicated to the legendary composer Stephen Sondheim, the theatre's rich legacy continues by staging some of the most critically acclaimed plays, musicals, and performances, all enjoyed from the comfort of its 1,055 seats. \n\n**How to Get There** \nStephen Sondheim Theatre is conveniently located at 124 West 43rd Street, accessible via various modes of transportation. Visitors can reach the theatre by subway, taking the B, D, F, or M train to 42nd Street/Bryant Park or the 1, 2, 3, 7, N, Q, R, S, or W train to Times Square/42nd Street. Buses M5, M7, M20, M42, or M104 also offer routes to Times Square. For those who prefer driving, several paid parking garages are available nearby.",
"entry_id": "46aG38M4JcTJTW5VNmTkew",
"id": "8390",
"image_urls": [
"https://images.ctfassets.net/6pezt69ih962/7KS6LAFNM66YajjCJ5bBhR/3f7987c931ae12861cd824ef0b816d02/Stephen-Sondheim-theatre.jpg"
],
"latitude": 40.75584,
"location": {
"id": 1,
"name": "New York"
},
"longitude": -73.9848,
"name": "Stephen Sondheim Theatre",
"nearest_public_transport": "42nd Street - Bryant Park",
"observed_at_ms": 1790019683534,
"seat_plan_urls": [
"https://images.ctfassets.net/6pezt69ih962/6B85YbofGR5cZHckQNelcE/1930cc82a09e91af1ce49a3fcf9f7f50/Image_17-06-2024_at_17.32.jpeg"
],
"short_description": "The Stephen Sondheim Theatre is a cherished historical venue in Times Square, known for its Broadway classics and art nouveau architecture.",
"slug": "stephen-sondheim-theatre",
"source_url": "https://content-service.todaytix.com/api/v3/venues/stephen-sondheim-theatre?includeAllFields=true&location=1",
"transit_links": "B, D, F & M trains",
"type": "Theatre",
"url": "https://www.todaytix.com/nyc/venues/stephen-sondheim-theatre"
}TodayTix
Venue
Where a show plays: pass venue.slug from a show card, or a todaytix.com venue URL.
POST
https://api.aisa.one
/
apis
/
v1
/
todaytix-com
/
events
/
venue
Venue
curl --request POST \
--url https://api.aisa.one/apis/v1/todaytix-com/events/venue \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"venue_slug": "stephen-sondheim-theatre"
}
'import requests
url = "https://api.aisa.one/apis/v1/todaytix-com/events/venue"
payload = { "venue_slug": "stephen-sondheim-theatre" }
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({venue_slug: 'stephen-sondheim-theatre'})
};
fetch('https://api.aisa.one/apis/v1/todaytix-com/events/venue', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.aisa.one/apis/v1/todaytix-com/events/venue",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'venue_slug' => 'stephen-sondheim-theatre'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.aisa.one/apis/v1/todaytix-com/events/venue"
payload := strings.NewReader("{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.aisa.one/apis/v1/todaytix-com/events/venue")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.aisa.one/apis/v1/todaytix-com/events/venue")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"venue_slug\": \"stephen-sondheim-theatre\"\n}"
response = http.request(request)
puts response.read_body{
"accessibility": "Wheelchair and transfer seating on Orchestra and Mezzanine levels via elevator, accessible restrooms, assisted listening devices, audio described/captioned performances.",
"address": {
"city": "New York",
"country": "USA",
"country_code": "US",
"postal_code": "10036",
"state": "NY",
"street1": "124 West 43rd Street (between Broadway and 6th Avenue)",
"street2": null
},
"area": "Broadway",
"capacity": 1055,
"description": "The Stephen Sondheim Theatre is a treasured gem within the heart of New York City. Located in the bustling Times Square district, it stands proudly, retaining its historical charm midst contemporary edifices. The theatre, formerly known as Henry Miller's Theatre, is deeply rooted in theatrical history, having hosted numerous Broadway classics since its inception in 1918. It boasts art nouveau architecture bathed in gentle, welcoming lights, with intricate details that add to its grandeur. A walk inside reveals a relaxing ambiance with ornamented ceilings, beautiful chandeliers, red velvet seats, and a sizeable stage that brings performances to life. Dedicated to the legendary composer Stephen Sondheim, the theatre's rich legacy continues by staging some of the most critically acclaimed plays, musicals, and performances, all enjoyed from the comfort of its 1,055 seats. \n\n**How to Get There** \nStephen Sondheim Theatre is conveniently located at 124 West 43rd Street, accessible via various modes of transportation. Visitors can reach the theatre by subway, taking the B, D, F, or M train to 42nd Street/Bryant Park or the 1, 2, 3, 7, N, Q, R, S, or W train to Times Square/42nd Street. Buses M5, M7, M20, M42, or M104 also offer routes to Times Square. For those who prefer driving, several paid parking garages are available nearby.",
"entry_id": "46aG38M4JcTJTW5VNmTkew",
"id": "8390",
"image_urls": [
"https://images.ctfassets.net/6pezt69ih962/7KS6LAFNM66YajjCJ5bBhR/3f7987c931ae12861cd824ef0b816d02/Stephen-Sondheim-theatre.jpg"
],
"latitude": 40.75584,
"location": {
"id": 1,
"name": "New York"
},
"longitude": -73.9848,
"name": "Stephen Sondheim Theatre",
"nearest_public_transport": "42nd Street - Bryant Park",
"observed_at_ms": 1790019683534,
"seat_plan_urls": [
"https://images.ctfassets.net/6pezt69ih962/6B85YbofGR5cZHckQNelcE/1930cc82a09e91af1ce49a3fcf9f7f50/Image_17-06-2024_at_17.32.jpeg"
],
"short_description": "The Stephen Sondheim Theatre is a cherished historical venue in Times Square, known for its Broadway classics and art nouveau architecture.",
"slug": "stephen-sondheim-theatre",
"source_url": "https://content-service.todaytix.com/api/v3/venues/stephen-sondheim-theatre?includeAllFields=true&location=1",
"transit_links": "B, D, F & M trains",
"type": "Theatre",
"url": "https://www.todaytix.com/nyc/venues/stephen-sondheim-theatre"
}Request contract
- Method and path: POST /apis/v1/todaytix-com/events/venue
- Availability: enabled
- Request URL template:
https://api.aisa.one/apis/v1/todaytix-com/events/venue
{
"operationId": "todaytix-com.events.venue",
"method": "POST",
"path": "/apis/v1/todaytix-com/events/venue",
"servers": [
{
"url": "https://api.aisa.one"
}
],
"parameters": [],
"security": [
{
"bearerAuth": []
}
],
"requestBody": {
"content": {
"application/json": {
"examples": {
"provider": {
"summary": "Official provider example; checked against AIsa request constraints",
"value": {
"venue_slug": "stephen-sondheim-theatre"
}
}
},
"schema": {
"additionalProperties": true,
"properties": {
"location_id": {
"description": "TodayTix city id the venue is listed under (defaults to 1, New York; London venues need 2, etc.). Used for the region prefix of `url` and the site's `location` parameter.\n\nProvider reference: minimum 1; maximum 100000.",
"type": "number",
"x-alexandria-option-metadata": {
"in": "body",
"max": 100000,
"min": 1
}
},
"url": {
"description": "A todaytix.com venue page URL, https://www.todaytix.com/{region}/venues/{slug}, instead of venue_slug.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
},
"venue_slug": {
"description": "Venue slug, e.g. `stephen-sondheim-theatre` (venue.slug from search_shows/show, or the last segment of /{region}/venues/{slug}). Exactly one of venue_slug or url. Pattern: ^[a-z0-9]+(-[a-z0-9]+)*$.",
"type": "string",
"x-alexandria-option-metadata": {
"in": "body"
}
}
},
"type": "object"
}
}
},
"required": false
},
"x-aisa-status": "enabled",
"components": {
"securitySchemes": {
"bearerAuth": {
"scheme": "bearer",
"type": "http"
}
}
}
}
Cost and request rules
Usage-based pricing. Default request estimate: $0.0005 USD. The final charge depends on actual usage. Your account price may differ; use a request quote where supported.Authorizations
Body
application/json
A todaytix.com venue page URL, https://www.todaytix.com/{region}/venues/{slug}, instead of venue_slug.
Response
Venue profile by slug or page URL (content-service /api/v3/venues/{slug}): name, type, area, address with country code and coordinates, capacity, accessibility, transport, images and seating chart images, and the TodayTix city it belongs to.
The response contains the tool result directly.
| Documented field | Provider type | Description |
|---|---|---|
accessibility | string | |
address | object | |
area | string | e.g. Broadway, West End. |
capacity | number | |
description | string | |
entry_id | string | |
id | string | Venue id as the site sends it (numeric string), matches show venue.id. |
image_urls | string[] | |
latitude | number | |
location | object | The TodayTix city the venue belongs to, or null. |
longitude | number | |
name | string | |
nearest_public_transport | string | |
observed_at_ms | number | Unix milliseconds when this program read the source (SDK observation stamp). |
seat_plan_urls | string[] | Static seating chart images, when published. |
short_description | string | |
slug | string | |
source_url | string | |
transit_links | string | |
type | string | |
url | string | Public venue page. |
These are the provider's documented fields. Field requiredness, nullability and nested object structures are specified only where the descriptions explicitly say so.