OpheliaDocs
Search docs⌘K
DashboardCreate an account
v3 · Endpoints

GET /v3/verticals

List the kinds of ask v3 knows: the words you can send as vertical, and what each one books.

GET/v3/verticals
Scope: v3:sites:read, v3:search or v3:bookLimit: 300 per 5 minutes, shared with GET /v3/ and GET /v3/corrections

Send a row's drive_profile as vertical in a search, availability read or booking. A broad category such as travel covers several rows (hotels, flights, cars, activities) and answers 400 ambiguous_vertical naming them. How to word an ask: Find something.

Request

FieldTypeDefaultRule
none
No parameters, no body.

Response

FieldWhat it is
count
How many rows.
verticals[].vertical
The product category.
verticals[].action
What a booking is in it (restaurant_reservation, product_purchase, …).
verticals[].drive_profile
The kind of ask. This is the value to send as vertical.
verticals[].ask_shape
What the ask is built from beyond the basics: term, span (two dates), route (two places).
verticals[].availability_unit
What one offer is (table, room, seat, item, …).
verticals[].required_choices
What must be chosen to book, in the API's own words (slot here is dining's time).
verticals[].fields
Extra details the ask can carry.
note
A sentence about the list.

Statuses and error codes

HTTPError codeWhen
200
The list.
403
insufficient_scope
The key holds none of the three scopes.

Example

curl
curl https://api.opheliaos.com/v3/verticals \
-H "Authorization: Bearer YOUR_TEST_KEY"

Response 200, three of the eleven rows:

json
{
"count": 11,
"note": "drive_profile is the ASK SHAPE the site is driven with, which is finer-grained than the product category: travel is one vertical and four different questions. v3 drives any site it is given; naming a vertical only says which question to ask.",
"verticals": [
{
"vertical": "dining",
"action": "restaurant_reservation",
"drive_profile": "dining",
"availability_unit": "table",
"required_choices": ["slot"]
},
{
"vertical": "retail",
"action": "product_purchase",
"drive_profile": "shopping",
"ask_shape": ["term"],
"availability_unit": "item",
"required_choices": ["variant", "quantity"]
},
{
"vertical": "travel",
"action": "hotel_booking",
"drive_profile": "hotels",
"ask_shape": ["span"],
"availability_unit": "room",
"required_choices": ["room_type", "rate_plan"],
"fields": ["room_type", "bed_type"]
}
]
}