Get a past flight search
Re-read a previous search by its SearchId, including the request you sent and the response you got.
POST/Air/AirSearchData
Access requires the permission air_low_fare_search
Every search returns a SearchId. Pass it here to fetch the stored search, useful for debugging, auditing, or re-rendering results without searching again.
Path parameters
None.
Query parameters
None.
Body parameters
| Name | Type | Required | Description |
|---|---|---|---|
SessionId | string | Yes | Your session id. |
SearchId | integer | Yes | The id from a search response. |
Request
curl -X POST https://api.hermeseus.com/api/Air/AirSearchData \
-H "Content-Type: application/json" \
-d '{ "SessionId": "8f3c81d2-...", "SearchId": 428713 }'const res = await fetch("https://api.hermeseus.com/api/Air/AirSearchData", {
method: "POST",
headers: { "Content-Type": "application/json" },
body: JSON.stringify({ SessionId: "8f3c81d2-...", SearchId: 428713 })
});
const data = await res.json();import requests
res = requests.post(
"https://api.hermeseus.com/api/Air/AirSearchData",
json={"SessionId": "8f3c81d2-...", "SearchId": 428713},
)
data = res.json()Response
| Field | Type | Description |
|---|---|---|
Success | boolean | true on success. |
SearchId | integer | The search id. |
ResultCount | integer | How many itineraries the search returned. |
CreatedAt | string | When the search ran, ISO 8601. |
RequestParams | object | The request body you sent. |
ResponseBody | object | The response the search produced. |
Error | object | null on success. |
{
"Success": true,
"SearchId": 428713,
"ResultCount": 137,
"CreatedAt": "2026-10-10T09:15:22+00:00",
"RequestParams": { "AdultCount": 1, "OriginDestinationInformations": [ { "OriginLocationCode": "IST" } ] },
"ResponseBody": { "PricedItineraries": [ ] },
"Error": null
}Errors
| Code | Meaning | Fix |
|---|---|---|
Err0102010 | SearchId is missing. | Send the id from a search response. |
Err0102011 | Search not found, or it belongs to another session. | Re-run the search. |

