GET
/api/v1/shopsGet Shops
List of all the Shops
This API endpoint returns a list of all active shops in the account. No parameters are required for the GET request to retrieve the shop list. Users can specify the number of items per page in the request URL, and the page count parameter allows navigation through multiple pages to access the complete list of shops.
GET
/api/v1/shopsParameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
page | query | integer | Optional | The page number to retrieve. |
size | query | integer | Optional | The number of items to be displayed per page. |
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | |
| 400 | Bad Request | Request data failed validation(s) | None |
| 401 | Unauthorized | Authentication Failed! | None |
| 429 | Too Many Requests | Too Many Requests. | None |
| 500 | Internal Server Error | Internal Server Error | None |
Example Request
# You can also use wget
curl -X GET https://api.flightrates.example.com/api/v1/shops \
-H 'Accept: application/json' \
-H 'Authorization: API_KEY'
Example responses
200 Response
{
"error": false,
"shops": [
{
"_id": "6a0bf8555e39fd9e410a98ff",
"_OD": [
{
"OD": "HDOUKE",
"_flyFrom": "67fe5364708e396a7183c1d0",
"_flyTo": "67fe4926708e396a7183c1cc"
}
],
"_sources": [
"66054bd62035f94f4ad8bfa4"
],
"_alternateSources": [
"64ae65cfd06e77f95bfefea6"
],
"_carriers": [
"65ef126905a50001f87961b2"
],
"isRoundTrip": false,
"los": 0,
"_cabinClasses": [
"6013a6abf553c71d4dfbe92d"
],
"pax": {
"adults": 1,
"infants": 0,
"children": 0
},
"_pos": "64ae807cd06e77f95bff07be",
"posName": "United Kingdom",
"_currency": "64ae7d3ed06e77f95bff0563",
"currencyName": "ZMW",
"horizons": [
"0",
"3-10",
"02/05/2025",
"10/06/2025-10/08/2025"
],
"noOfStops": [
0,
1
],
"fareType": "Doctors",
"duration": {
"outbound": {
"hour": 40,
"minute": 30
},
"inbound": {
"hour": null,
"minute": null
}
},
"startDate": "2026-05-19T00:00:00.000Z",
"shopName": "Flightshop name",
"_user": "6a0aaf8da93611b858a5abf8",
"userName": "testinbound",
"deliveryMode": [
"db"
],
"isActiveStatus": true,
"isRealtime": false,
"vertical": "flightrates",
"isCustomerCreated": true,
"createdAt": "2026-05-19T05:42:45.015Z",
"updatedAt": "2026-05-19T05:42:45.015Z",
"id": "6a0bf8555e39fd9e410a98ff"
}
],
"totalData": 5,
"totalPages": 1,
"page": 1,
"size": 10
}
Need Support?
Our team is here to help you integrate and make the most of our APIs. Get in touch for technical support, custom solutions, or any questions.