Skip to content
Docs

DiscoverCars car rental

Car-rental offers from every supplier DiscoverCars sells at a place.

POST/v1/cars/discovercars
10 creditsTry it10 per search (no offers, an unknown place and failed requests are free)

One pick-up place (location text such as LAX, or place_id) and a rental window. Each offer has the supplier, car, ACRISS code, class, the rental total as DiscoverCars lists it in currency, free cancellation, payment type, mileage, fuel policy, deposit and the supplier's rating; cheapest_by_class gives the lowest total per car class. Offers come cheapest first; limit caps how many are returned.

Request

POSThttps://api.scrapercompany.com/v1/cars/discovercars

Authenticate with your API key in the x-api-key header (see Authentication).

Run this request on your own API key from this page, with the values you type. Signed out? Sign in or get an API key.

Body

JSON object. Unknown fields are rejected with 422.

  • pickupstring (date-time)required

    Pick-up date and local time, YYYY-MM-DDTHH:MM.

  • dropoffstring (date-time)required

    Drop-off date and local time, YYYY-MM-DDTHH:MM; same place as pick-up.

  • currencystringdefault USDmin length 3, max length 3

    Currency of every price.

  • limitintegerdefault 100min 1, max 1000

    Offers to return, cheapest first.

  • locationstring | nullmin length 2, max length 120

    Airport code, airport or city name, looked up with DiscoverCars' own search box. Ignored with place_id.

  • place_idinteger | nullmin 1

    DiscoverCars place id (LAX is 4798): place_id of a result from POST /v1/cars/discovercars/locations.

  • driver_ageintegerdefault 35min 18, max 99

    Driver's age.

  • residence_countrystringdefault USpattern ^[A-Za-z]{2}$

    Driver's country of residence (ISO code); some suppliers price by it.

Example request

curl -X POST "https://api.scrapercompany.com/v1/cars/discovercars" \
  -H "x-api-key: $SCRAPERCOMPANY_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "pickup": "2026-12-01T10:00",
    "dropoff": "2026-12-03T10:00"
  }'

Response

200 — DiscoverCars offers for one rental. Metered responses carry x-credits-charged and x-credits-remaining headers (see credit headers).

200 response
{
  "search_parameters": {
    "engine": "discovercars_cars",
    "location_id": "4798",
    "pickup": "2026-12-01T10:00",
    "dropoff": "2026-12-03T10:00",
    "currency": "USD"
  },
  "location": {
    "id": "4798",
    "name": "Los Angeles Airport (LAX)"
  },
  "days": 2,
  "cheapest": {
    "offer_id": "8af49c27-4e19-4aea-b3a9-ee45ebd19030-C6HT",
    "supplier": "Priceless",
    "car_name": "Toyota Corolla",
    "car_class": "Intermediate",
    "acriss": "ICAR",
    "total": 86.57,
    "per_day": 43.28,
    "currency": "USD",
    "transmission": "automatic",
    "seats": 5,
    "doors": 4,
    "bags": 1,
    "mileage": "unlimited",
    "free_cancellation": true,
    "payment": "Pay part now",
    "fuel_policy": "Same to same",
    "pickup_location": "Free shuttle service",
    "supplier_rating": 5.7,
    "deposit": "US$200.00 – US$1,000.00",
    "image": "https://www.discovercars.com/images/car/8524/220.png",
    "link": "https://www.discovercars.com/en/offer/8af49c27-4e19-4aea-b3a9-ee45ebd19030-C6HT"
  },
  "cheapest_by_class": [
    {
      "car_class": "Intermediate",
      "total": 86.57,
      "supplier": "Priceless",
      "car_name": "Toyota Corolla",
      "offer_id": "8af49c27-4e19-4aea-b3a9-ee45ebd19030-C6HT"
    },
    {
      "car_class": "Full-size",
      "total": 93.94,
      "supplier": "Priceless",
      "car_name": "Nissan Altima",
      "offer_id": "8af49c27-4e19-4aea-b3a9-ee45ebd19030-T9SM"
    }
  ],
  "offers": [
    {
      "offer_id": "8af49c27-4e19-4aea-b3a9-ee45ebd19030-C6HT",
      "supplier": "Priceless",
      "car_name": "Toyota Corolla",
      "car_class": "Intermediate",
      "acriss": "ICAR",
      "total": 86.57,
      "per_day": 43.28,
      "currency": "USD",
      "transmission": "automatic",
      "seats": 5,
      "doors": 4,
      "bags": 1,
      "mileage": "unlimited",
      "free_cancellation": true,
      "payment": "Pay part now",
      "fuel_policy": "Same to same",
      "pickup_location": "Free shuttle service",
      "supplier_rating": 5.7,
      "deposit": "US$200.00 – US$1,000.00",
      "image": "https://www.discovercars.com/images/car/8524/220.png",
      "link": "https://www.discovercars.com/en/offer/8af49c27-4e19-4aea-b3a9-ee45ebd19030-C6HT"
    }
  ],
  "total": 1,
  "total_offers": 40,
  "suppliers": 14,
  "meta": {
    "source": "discovercars",
    "price_basis": "rental_total_as_listed",
    "elapsed_s": 4.1
  }
}
Arrays are shortened to their first items.

Errors

Errors return a JSON body with a detail field. Failed requests are not charged. See Errors for the full list and retry advice.

StatusMeaningRetry?
401Unauthorized

Missing or invalid API key.

{"detail":"missing or invalid API key"}
No, fix the request
402Payment Required

Not enough credits for this request: the account's credits mode is enforce (mode in GET /v1/billing) and the request costs more than the available credits. Nothing is run or charged.

{"detail":"insufficient credits: this request costs 5, 0 available. Credits renew 2026-11-01."}
No, fix the request
404Not Found

The property, stay, job or record was not found.

{"detail":"job not found"}
No, fix the request
422Unprocessable Content

Request validation failed. detail is a list of problems for schema errors, or a string for semantic checks performed by the endpoint.

{"detail":[{"loc":["body","name"],"msg":"Field required","type":"missing"}]}
No, fix the request
429Too Many Requests

Too many requests: the key's requests-per-minute limit was exceeded, or (in enforce credits mode) the plan's concurrent-request limit. No rate-limit or Retry-After headers are sent; back off and retry.

{"detail":"rate limit 60/min exceeded"}
Yes, with backoff
503Service Unavailable

Temporarily unavailable: a dependency of this endpoint is down, or the upstream source changed its contract. Retry later.

{"detail":"database unavailable: OperationalError"}
Yes, with backoff

Try it

Press Try it above to run this request on your own key, with the values you type (sign in first). For a no-code walkthrough, use the workspace’s guided Try it.

  1. Export your key: export SCRAPERCOMPANY_API_KEY=sk_... (no key yet? start a free trial).
  2. Copy the cURL example above and run it in a terminal.

Credits

10 credits per successful call (10 per search (no offers, an unknown place and failed requests are free)). Failed, blocked and empty results are free.

Questions about this page?

Send the page link and your question, and the team will answer.

Email support