POST

API health

24h health
Normal
  • Healthy / normal
  • Available
  • Limited
  • Mostly down
Normal

Last 24 hours

Last 30 days

Get Expedia car rental quotes for a pick-up location. Each quote has vehicle category, rental company, price, rating and pick-up and drop-off details. Without dates, pick-up defaults to 30 days out for two days. Nothing is booked, and taxes or extras are not locked in.

Send POST https://api.everyinfra.com/api/v1/social with platform set to expedia and action set to car_rental. Price $1.39 per 1,000 requests ($0.001389 per call). Failed calls and empty results are not charged. Synchronous. For slow jobs add "mode": "async" to the body, take the job_id and poll.

AI prompt

#
Please help me write a data collection script with the EveryInfra Expedia Car rental quotes endpoint (expedia/car_rental).

How the endpoint works:
- Request: POST https://api.everyinfra.com/api/v1/social with the header Authorization: Bearer <API key>. Read the key from the EVERYINFRA_API_KEY environment variable and never hard-code it.
- In the request body, set platform to expedia and action to car_rental, and put the parameters inside params.
- Required parameters:
  - keyword: Specifies the hotel destination for search actions or the pick-up location or full Expedia carsearch URL for car_rental.
- Optional parameters:
  - check_in: Serves as a compatibility alias for car_rental pick-up dates and is evaluated only when pick_up_date is omitted. It does not filter hotel check-in dates on this endpoint.
  - check_out: Serves as a compatibility alias for car_rental drop-off dates and is evaluated only when drop_off_date is omitted. It does not filter hotel check-out dates on this endpoint.
  - drop_off_date: Specifies the car rental drop-off date using YYYY-MM-DD format. If a pick-up date is provided without a drop-off date, the system defaults to the same day, so an explicit later date should be provided.
  - pick_up_date: Specifies the car rental pick-up date using YYYY-MM-DD format and takes precedence over check_in. If omitted, default timing is set to 30 days from today with a 2-day duration.
  - limit: The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge. (default: 20)
- Returns a list of records. Main fields of each record: id, url, title, vehicle_category, vendor_name, price, price_total, rating, rating_scale, rating_label, attributes, pick_up_location; 18 fields in total, full list at https://api.everyinfra.com/api/v1/social/catalog?platform=expedia.
- Example request body:
{
  "platform": "expedia",
  "action": "car_rental",
  "params": {
    "keyword": "Las Vegas, Nevada, United States of America"
  }
}
- Price: $1.39 per 1,000 requests; failed and empty results are not charged.
- For dozens or hundreds of targets, add "mode": "async" to the body: you get a job_id at once and poll GET https://api.everyinfra.com/api/v1/jobs/{job_id} for the result.
- On 422, fix the request using the suggested parameter names and allowed values in the error; on 429 or 503, wait for Retry-After and try again.

Before writing code, ask me which targets I need, how many, which fields, and what output format I want; then confirm the plan and the rough cost with me.

Request parameters

#
NameInTypeRequiredDefaultDescription
AuthorizationheaderstringYes-Bearer followed by your API key. Create it in the console; never put it in a URL or a code repository.
platformbodystringYesexpediaPlatform identifier, fixed value.
actionbodystringYescar_rentalCapability identifier, fixed value.
keywordbody.paramsstringYes-Specifies the hotel destination for search actions or the pick-up location or full Expedia carsearch URL for car_rental. When a full URL is provided for car_rental, its embedded parameters override standalone date inputs. It does not query flight availability.
check_inbody.paramsdateNo-Serves as a compatibility alias for car_rental pick-up dates and is evaluated only when pick_up_date is omitted. It does not filter hotel check-in dates on this endpoint.
check_outbody.paramsdateNo-Serves as a compatibility alias for car_rental drop-off dates and is evaluated only when drop_off_date is omitted. It does not filter hotel check-out dates on this endpoint.
drop_off_datebody.paramsdateNo-Specifies the car rental drop-off date using YYYY-MM-DD format. If a pick-up date is provided without a drop-off date, the system defaults to the same day, so an explicit later date should be provided. Omitting the pick-up date causes default date pairs to override a standalone drop-off date.
pick_up_datebody.paramsdateNo-Specifies the car rental pick-up date using YYYY-MM-DD format and takes precedence over check_in. If omitted, default timing is set to 30 days from today with a 2-day duration. Rental queries fix pick-up and drop-off times at 10:30 AM, so arbitrary time slot availability cannot be assumed.
limitbody.paramsinteger (1–100)No20The most rows to return in this call, an integer from 1 to 100. The default applies when you leave it out, and a call can return fewer rows. Larger values return 422 before any charge.

Code samples

#
bash
curl -X POST 'https://api.everyinfra.com/api/v1/social' \
  -H "Authorization: Bearer $EVERYINFRA_API_KEY" \
  -H 'Content-Type: application/json' \
  --data-raw '{
  "platform": "expedia",
  "action": "car_rental",
  "params": {
    "keyword": "Las Vegas, Nevada, United States of America"
  }
}'

OpenAPI definition (JSON)Samples read the key from the EVERYINFRA_API_KEY environment variable; copied code never contains your key.

Response example

#
Captured September 26, 2026 at 08:56 (UTC) by calling this API with the parameters in the code sample above. results and count are that call's real response with personal information (names, handles, avatars, profile links, contact details) removed; the list keeps the first 2. id, billing and quota differ on every call, so only their shape is shown.
json
{  "id": "req_…",  "platform": "expedia",  "action": "car_rental",  "results": [    {      "id": "77193515-90b3-4ceb-b090-f357684d8d18",      "url": "https://www.expedia.com/carsearch/details?date1=10%2F26%2F2026&date2=10%2F28%2F2026&time1=1030AM&time2=1030AM&dpln=178276&locn=Las+Vegas%2C+Nevada%2C+United+States+of+America&loc2=Las+Vegas%2C+Nevada%2C+United+States+of+America&piid=AQh3XDzUb4Yaw4cMGaeYnjj7avjCnI7in9MF41jMKsvomJa…",      "title": "Jeep Wrangler 4-Door or similar",      "vehicle_category": "Standard Open Air All-Terrain",      "vendor_name": "Payless",      "price": "$99.99",      "price_total": "$281.62",      "rating": 0,      "attributes": [        "5",        "4 Doors",        "Air Conditioning"      ],      "pick_up_location": "Las Vegas, Nevada, United States of America",      "drop_off_location": "Las Vegas, Nevada, United States of America",      "pick_up_date": "2026-10-26",      "drop_off_date": "2026-10-28",      "pick_up_time": "1030AM",      "drop_off_time": "1030AM",      "image_url": "https://mediaim.expedia.com/cars/38/49564138-aed7-4f64-952b-8a534df5fec5.jpg?impolicy=resizecrop&ra=fit&rh=165&rw=165",      "platform": "expedia",      "rating_scale": 5    },    {      "id": "77193515-90b3-4ceb-b090-f357684d8d18",      "url": "https://www.expedia.com/carsearch/details?date1=10%2F26%2F2026&date2=10%2F28%2F2026&time1=1030AM&time2=1030AM&dpln=178276&locn=Las+Vegas%2C+Nevada%2C+United+States+of+America&loc2=Las+Vegas%2C+Nevada%2C+United+States+of+America&piid=AQh3XDzUb4Yaw4cMGaeYnjj7avjCnI7in9MF41jMKsvomJa…",      "title": "Ford Explorer or similar",      "vehicle_category": "Standard Elite SUV",      "vendor_name": "Payless",      "price": "$104.99",      "price_total": "$294.86",      "rating": 0,      "attributes": [        "7",        "4 Doors",        "Air Conditioning"      ],      "pick_up_location": "Las Vegas, Nevada, United States of America",      "drop_off_location": "Las Vegas, Nevada, United States of America",      "pick_up_date": "2026-10-26",      "drop_off_date": "2026-10-28",      "pick_up_time": "1030AM",      "drop_off_time": "1030AM",      "image_url": "https://mediaim.expedia.com/cars/38/be4b065b-ef1b-47ef-bbac-3c241f26b4e5.jpg?impolicy=resizecrop&ra=fit&rh=165&rw=165",      "platform": "expedia",      "rating_scale": 5    }  ],  "count": 20,  "billing": {    "charged": …,    "charged_usd": …,    "balance_after_usd": …,    …  },  "quota": { … }}

Response fields

#

Business data is in results. The table lists the fields a record can contain; values the platform does not show are never made up.

FieldMeaning
idThe record's unique ID on the platform. Unique only within one platform; IDs can repeat across platforms.
urlLink to the record on the platform.
titleTitle. null when the platform has no titles (for example text-only posts).
vehicle_categoryKeeps the platform's own meaning
vendor_nameKeeps the platform's own meaning
pricePrice as a number without a currency symbol; see currency.
price_totalKeeps the platform's own meaning
ratingRating. The scale varies by platform: rating_scale on the same row gives the maximum (usually 5; Booking, Douban, iQIYI and NAVER use 10). Convert with rating_scale before comparing across platforms, or the comparison can come out backwards.
rating_scaleMaximum of rating in the same row: 5 for five-star scales, 10 for ten-point scales. Present only when the row has a rating.
rating_labelKeeps the platform's own meaning
attributesKeeps the platform's own meaning
pick_up_locationKeeps the platform's own meaning
drop_off_locationKeeps the platform's own meaning
pick_up_dateKeeps the platform's own meaning
drop_off_dateKeeps the platform's own meaning
pick_up_timeKeeps the platform's own meaning
drop_off_timeKeeps the platform's own meaning
image_urlImage link. Capabilities with several images may return an image_urls array.
platformSource platform identifier, the same as platform in the request (for example xiaohongshu, tiktok).

Errors and billing

#
401
Missing or invalid key.
402
Insufficient balance. Top up first.
422
Invalid parameter name or value. Fix it using the suggestions in the error. No charge.
429
Per-minute request limit reached. Wait for Retry-After, then try again.
503
Could not complete. The held charge is returned to your balance. If the outcome is unknown, verify it before you retry.
200 empty
No data. No charge.

Errors

Google Analytics needs consent. Privacy