Skip to content

CarGurus Scraper API

CarGurus is an online automotive marketplace where buyers compare new and used vehicles from dealerships.

OUTPUT FORMATSHTMLJSONMarkdown

A CarGurus scraper API lets a team pull listing-level information — prices, specifications, dealer details and reviews — into its own systems without maintaining a browser fleet or proxy pool. This page explains what the API returns, how credits are consumed, which plans fit which workloads, and where a scraping approach differs from an official data feed.

What a CarGurus scraping API returns

The API fetches CarGurus pages and returns rendered HTML that your code parses. You can target listing pages, search results, vehicle detail pages and dealer pages. Typical fields include price, make, model, year, mileage, dealer name and listing URL. Reviews and specification blocks are also available where the page contains them. Because CarGurus renders much of its content with JavaScript, the API runs a headless browser and blocks ads before capture so the HTML you receive reflects what a real visitor would see. The service handles proxy rotation and CAPTCHA challenges on your behalf, which removes the two most common causes of failed collection runs.

Three ways to get structured data out

Raw HTML is the most flexible output but requires your own parser. CSS or XPath extraction rules let you declare selectors once and receive JSON keyed to those selectors — useful when you only need price, title and dealer fields from each listing. AI extraction accepts a natural-language instruction and returns structured JSON, which suits pages whose layout changes often. Markdown or plain-text output is available when you want readable content rather than a DOM tree. A practical rule: use CSS/XPath rules for stable, high-volume fields; use AI extraction for fields that move between page templates; keep raw HTML as a fallback for debugging.

Worked example: one listing page, four fields

Suppose you want the price, make, model and year from a single vehicle detail page. With CSS extraction rules you would define a JSON object whose keys are your field names and whose values are selectors pointing at the corresponding elements. The API returns that object directly, so your downstream job receives {price, make, model, year} without a parsing step. If the page template changes and a selector stops matching, the field returns empty rather than wrong — a failure you can detect and alert on. That distinction matters: a missing field is a layout change; a wrong value is a selector that now points at a different element. Check both during any template migration.

How credits are consumed

Every request starts at one credit. Enabling JavaScript rendering raises a successful request to five credits. Premium proxies cost ten credits with JS rendering off, or twenty-five with it on. Credits are valid for one month and do not roll over. Concurrency is the number of requests that can be in flight at once. For a CarGurus workload, JS rendering is typically required for JavaScript-heavy listing pages, so budget five credits per page as your baseline. Add premium-proxy cost only if you are being blocked at the standard tier: that is ten credits per successful request with JS rendering off, or twenty-five with it on.

Choosing a plan

Standard plans run from Hobby at $19 per month with 75,000 credits and 25 concurrent requests, through Freelance, Startup and Business, up to Business + at $599 per month with 8,000,000 credits and 400 concurrent requests. Enterprise plans start at Enterprise 14 ($999 per month, 14,000,000 credits, 500 concurrent) and rise to Enterprise 120 ($5,799 per month, 120,000,000 credits, 900 concurrent). Priority email support, a dedicated account manager and team management appear only from the Business tier upward. All prices exclude VAT. A rough sizing method: divide your monthly page target by the credit cost per page, then pick the smallest plan whose credit allowance and concurrency both clear that number with headroom for retries.

Scraper API versus an official CarGurus feed

CarGurus does not offer an official API for public use. That means there is no sanctioned data feed to subscribe to, and any programmatic access runs through the public website. A scraping API is therefore the practical route, but it carries obligations: respect the site's robots.txt and terms of service, apply rate limits so you do not overload their servers, and keep your own legal review of how you store and use the data. The API handles the technical obstacles — proxies, CAPTCHAs, JavaScript rendering — but it does not transfer responsibility for compliant use to the provider.

Decision checklist before you commit

Use this list to decide whether a managed CarGurus scraper API fits your team:

  • Do you need listing-level data (price, spec, dealer) rather than aggregate market reports? If you only need summaries, a smaller data vendor may be cheaper.
  • Can you tolerate rendered HTML plus your own parser, or do you need JSON out of the box? Extraction rules and AI extraction both return JSON; raw HTML does not.
  • What is your monthly page volume? Multiply by five credits for JS rendering, then check the plan table.
  • How many pages must run in parallel? Concurrency, not credits, is usually the binding constraint for large backfills.
  • Do you need team seats and priority support? Those start at the Business tier.
  • Have you reviewed CarGurus's terms and robots.txt for your specific use case? Do this before the first production run, not after.

Using the same API beyond CarGurus

The same account and key can collect from other sources — search engines, business directories, real-estate listings and e-commerce marketplaces — so a team building an automotive pricing model can also pull adjacent market signals without a second vendor. Screenshots, JavaScript scenarios, custom cookies and image downloads are available as separate capabilities on the same platform. That consolidation is useful when your data pipeline already speaks one API shape and you would rather not add another integration surface.

Plan comparison
PlanMonthly priceAPI creditsConcurrent requestsPriority support / account manager / team management
Hobby$1975,00025Not included
Freelance$49250,00050Not included
Startup$991,000,000100Not included
Business$2493,000,000200Included
Business +$5998,000,000400Included
Enterprise 14$99914,000,000500Included
Enterprise 24$1,59924,000,000600Included
Enterprise 41$2,39941,000,000700Included
Enterprise 69$3,59969,000,000800Included
Enterprise 120$5,799120,000,000900Included

All prices are monthly and exclusive of VAT. JavaScript rendering, rotating and premium proxies, geotargeting, and screenshots/extraction rules are included on every plan. Priority email support, a dedicated account manager and team management are included only from Business upward. Plan names, prices and allowances are a dated reference and should be checked against current pricing before purchase.

Credit cost per successful request
ConfigurationCredits per request
Base request1
JavaScript rendering enabled5
Premium proxies, JS rendering off10
Premium proxies, JS rendering on25

Credits are valid for one month and do not roll over. Costs apply to successful requests.

Frequently asked questions

What is CarGurus?

CarGurus is an online automotive marketplace connecting buyers and sellers of new and used cars. Shoppers use it to research prices, read reviews and compare listings from dealerships. For developers and analysts, it is a source of listing-level data on pricing and inventory.

What does CarGurus scraping involve?

It means extracting data from CarGurus pages — cars, prices, dealer listings — programmatically. The main technical hurdles are JavaScript-rendered content and anti-scraping measures. A managed API handles both so your team can focus on the data rather than the infrastructure.

Is scraping CarGurus legal?

Responsible scraping means respecting CarGurus's robots.txt and terms of service and applying rate limits so you do not overload their servers. A scraping provider supplies the tooling but not legal advice; your own review of how you collect, store and use the data is the deciding factor.

What data can I extract from CarGurus?

Vehicle prices, specifications, reviews, dealer information and listing details are all available. You can pull them with tailored extraction rules or AI queries. For example, CSS selectors can target the price, make, model and year elements on a listing page and return them as JSON.

Can I set custom extraction rules?

Yes. You define extraction rules in JSON format for the fields you want — vehicle titles and prices are common examples — and the API returns structured output matching those rules. This lets you shape the response to your schema rather than parsing raw HTML downstream.

Does CarGurus have an official API?

CarGurus does not offer an official API for public use. If you need their data, web scraping through a managed tool is the practical route, provided you respect their terms of service.

Do I need JavaScript rendering to scrape CarGurus?

In practice, yes. CarGurus renders much of its listing content client-side, so a plain HTTP fetch returns incomplete HTML. Enabling JS rendering costs five credits per successful request instead of one, and that should be your baseline when sizing a plan.

A field came back empty — is that a bug?

Usually it means a selector no longer matches because the page template changed. An empty field is a layout signal you can alert on; a field with the wrong value is more serious, because the selector now points at a different element. Re-check selectors after any CarGurus redesign.