Build a website from the catalogue
Everything you need to list and show products comes from read-only endpoints.
| You want | Call | Permission |
|---|---|---|
| Catalogues | GET /catalogues | catalogues:read |
| Categories for navigation | GET /categories | categories:read |
| Product listings | GET /products | products:read |
| A product page | GET /products/{id} | products:read |
| Gallery images | GET /products/{id}/media | media:read |
| Prices | GET /products/{id}/prices | pricing:read |
| Calendar | GET /products/{id}/availability | availability:read |
| Reviews | GET /products/{id}/reviews | reviews:read |
| Blog | GET /blogs, GET /blog-categories | blogs:read |
What you see
You only get published records from the catalogues the app can access, after its catalogue and storefront restrictions. A record you cannot see returns 404, the same as one that does not exist.
Merchant apps see products offered to customers (B2C). Agent apps and B2B portal apps see products offered to travel agents (B2B).
Listing products
curl "https://api.staging.agantia.com/api/public/v1/products?filter[category_id]=12&filter[product_type]=tour&sort=-rating&per_page=24" \
-H "Authorization: Bearer $TOKEN"
filter[catalogue_id],filter[category_id],filter[product_type](tour,ticket,activity,transportation,hotel,rental,visa,restaurant,addon,flight),filter[slug],filter[q],filter[city_id],filter[country_id],filter[city]andfilter[country](name contains, such asfilter[city]=Abu Dhabi).filter[q]takes words, or the start of words, in any order, such asdesert safariorsafar. Case and extra spaces do not matter. Each word must appear in the title, product code, short description or description ( matched on its text, not its HTML ). When you send nosort, the exact title or product code comes first, then titles with the whole search, then titles with every word.sortbytitle,created_at,updated_at,display_rate, orrating. Prefix with-for descending.fields=title,slug,from_price,main_imagereturns only what a listing card needs.
from_price is filled only when the app has pricing:read, and main_image only with media:read. Otherwise they are null.
Product pages by slug
Look the product up by slug, then load the details:
curl "https://api.staging.agantia.com/api/public/v1/products?filter[slug]=desert-safari-bbq&fields=id" -H "Authorization: Bearer $TOKEN"
curl "https://api.staging.agantia.com/api/public/v1/products/156" -H "Authorization: Bearer $TOKEN"
Besides the listing fields, a product's details carry what a product page needs:
| Field | What it holds |
|---|---|
itinerary | The day plan, in order: time ( HH:MM or null ), title, description ( plain text ) and location |
inclusions, exclusions | What the price includes and does not include |
pickup | is_available, is_drop_off_available, pickup_times ( pickup_time, tour_start_time ), the daily tour_start_time, and locations: the merchant's places in the product's cities where guests can be picked up ( title, address, type, city, at most 50 ). null for products without pickup settings, such as activities |
meeting_point | title and address of where guests meet when their own place has no pickup, or null |
cancellation_policy | The product's cancellation policy, or null |
languages | Languages the tour is guided in |
faqs | topic, question and answer |
addons | Extras that can be added to a booking: id, name, description and price per unit. price needs pricing:read, like from_price |
These fields are plain text; a product's own description stays the merchant's HTML, so sanitize it before you render it. Lists are empty and fields null when the product has none. Use fields to leave out what a page does not show, for example fields=title,itinerary,inclusions,exclusions.
Availability
curl "https://api.staging.agantia.com/api/public/v1/products/156/availability?from=2026-12-01&to=2026-12-31" \
-H "Authorization: Bearer $TOKEN"
You get one entry per day with is_available and, for products with timeslots, the slots. Ask for at most 92 days per request.
Prices
GET /products/{id}/prices returns the merchant's published display prices that are in effect now. For the exact price of a party on a date, including tax and options, use a quote.
Caching
Catalogue data changes rarely. Cache listings and product pages for a few minutes, and cache availability for a minute or less. Respect the rate limits.