Hermeseus

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

NameTypeRequiredDescription
SessionIdstringYesYour session id.
SearchIdintegerYesThe 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

FieldTypeDescription
Successbooleantrue on success.
SearchIdintegerThe search id.
ResultCountintegerHow many itineraries the search returned.
CreatedAtstringWhen the search ran, ISO 8601.
RequestParamsobjectThe request body you sent.
ResponseBodyobjectThe response the search produced.
Errorobjectnull 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

CodeMeaningFix
Err0102010SearchId is missing.Send the id from a search response.
Err0102011Search not found, or it belongs to another session.Re-run the search.