POST
/carratesCar Rates
This endpoint retrieves car rental rates based on a single pickup and drop location along with other required trip parameters.
POST
/carratesMandatory Fields
- pickupLocation
- dropLocation
- websiteCode
- cob
- pickupDate
- dropDate
- pickupTime
- dropTime
Note
For any technical assistance or feature requests, please contact our API support team.
Important Notes
- Always use HTTPS for API requests.
- Access tokens are valid for a limited time and should be refreshed periodically.
- Rate limiting applies to all endpoints to ensure system stability.
Parameter Details
| Name | In | Type | Required | Description |
|---|---|---|---|---|
body | body | object | Required | none |
» pickupLocation | body | string | Required | Pickup airport code or location name. |
» dropLocation | body | string | Required | Drop location name. |
» websiteCode | body | integer | Required | Website/source identifier. |
» cob | body | string | Required | Country of Booking (e.g., US). |
» pickupDate | body | string(date) | Required | Pickup date in YYYY-MM-DD format. |
» dropDate | body | string(date) | Required | Drop date in YYYY-MM-DD format. |
» pickupTime | body | string(time) | Required | Pickup time in HH:mm format. |
» dropTime | body | string(time) | Required | Drop time in HH:mm format. |
» currency | body | string | Required | Currency code (e.g., USD, EUR). |
- All parameters should be formatted according to the types specified in the table above.
Responses
| Status | Meaning | Description | Schema |
|---|---|---|---|
| 200 | OK | Success | Inline |
| 400 | Bad Request | Bad Request | None |
| 401 | Unauthorized | Unauthorized | None |
| 403 | Forbidden | Forbidden - Access denied | None |
| 429 | Too Many Requests | Too Many Requests | None |
| 500 | Internal Server Error | Internal Server Error | None |
Response Notes
The response will include a status field indicating success or failure, along with the requested data or relevant error messages. Standard HTTP status codes are used to indicate the outcome of the request.
Example Request
# You can also use wget
curl -X POST /carrates/ \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authorization: Bearer {access-token}' \
-d '{"pickupLocation":"string","dropLocation":"string","websiteCode":0,"cob":"string","pickupDate":"string","dropDate":"string","pickupTime":"string","dropTime":"string","currency":"string"}'
Body parameter
{
"pickupLocation": "ATL",
"dropLocation": "AYT",
"websiteCode": 1,
"cob": "US",
"pickupDate": "2019-08-24",
"dropDate": "2019-08-24",
"pickupTime": "10:00",
"dropTime": "10:30",
"currency": "USD"
}
Example responses
200 Response
[
{
"websiteCode": 1,
"source": "Expedia",
"pickupLocation": "MDZ",
"dropLocation": "MDZ",
"pickupDate": "2025-06-17",
"dropDate": "2025-06-20",
"pickupTime": "12:00:00",
"dropTime": "11:00:00",
"vendorName": "Enterprise",
"vendorCode": "ET",
"carName": "Swift",
"carType": "Economy",
"price": "159.2",
"basePrice": "13.3",
"currency": "USD",
"carCode": "CCAR",
"door": "5 door",
"airCondition": "true",
"transmission": "Manual",
"mileage": "Unlimited",
"vendorRating": "7.1",
"passengerCapacity": "5 persons",
"baggageDetails": null,
"cob": "US",
"dtcollected": "2025-05-29T12:40:23.124Z",
"statusCode": 200,
"prepay": "true",
"address": "Mendoza Intl Airport, Ruta 40 S/N, Mendoza, Argentina 00000"
}
]
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.