POST/market

Get Market

This endpoint retrieves a list of markets available in the LARBAR API database for rate retrieval.
POST/market

Optional Fields

  • state

Implementation Notes

This endpoint retrieves a list of markets available in the LARBAR API database for rate retrieval.

Parameter Details

NameInTypeRequiredDescription
bodybodyobjectRequirednone
» searchKeybodystringRequirednone
» countrybodystringRequirednone
» statebodystringOptionalnone

Responses

StatusMeaningDescriptionSchema
200OKSuccessInline
204No ContentNo ContentNone
400Bad RequestBad RequestNone
401UnauthorizedAuthentication Failed or Account validity ExpiredNone
429Too Many RequestsToo Many RequestsNone
500Internal Server ErrorInternal Server ErrorNone

Example Request

# You can also use wget
curl -X POST /market \
  -H 'Content-Type: application/json' \
  -H 'Accept: application/json' \
  -H 'Authorization: Bearer {access-token}'

Body parameter

{
  "searchKey": "Chennai",
  "country": "India",
  "state": "Tamil Nadu"
}

Example responses

200 Response
{
  "searchKey": "Chennai, Tamil Nadu, India",
  "websiteCode": 2,
  "country": "India",
  "state": "Tamil Nadu"
}

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.