Census API
Every electric and plug-in hybrid vehicle listed for sale in the United States that Census tracks — new, used and certified — read from dealers' own sites and…
Fork copies the collection into your workspace, without the publisher's secrets, so you can add your own key and send requests. Star saves it to your starred APIs (Account › Marketplace) and helps others find it.
Overview
Every electric and plug-in hybrid vehicle listed for sale in the United States that Census tracks — new, used and certified — read from dealers' own sites and manufacturer inventory. Read-only, no key. Inventory moves once a night; every response carries as_of. A Model Context Protocol endpoint with the same three operations is at /api/mcp.
Endpoints 7
- GETSearch listings
/api/v1/listings - GETOne listing by VIN, with its asking-price history on this seller
/api/v1/listings/:vin - GETEvery make and model with live listings, with counts
/api/v1/models - GETSearch listings, with the paid fields (data key)
/api/v1/data/listingsTakes every parameter /api/v1/listings takes and returns the same records, plus ask_vs_similar and incentive on each car that has one. - GETOne car with its price history and the paid fields (data key)
/api/v1/data/listings/:vin - GETThe bulk export's index: one file per make (data key)
/api/v1/data/export - GETEvery listing of one make, as NDJSON, with the paid fields (data key)
/api/v1/data/export/:makeOne PaidListing per line. As of the last publish; the x-as-of header says when. x-total is the line count.
API details
- Base URL
https://censusev.com- Authentication
- A bearer token in the Authorization header
- Operations
- 7 operations on 7 pathsGET 7
- Response formats
application/jsonapplication/x-ndjson- Description format
- OpenAPI 3.1.0, API version
1.0.0 - Links
- OpenAPI document
- Listed from
- Censusev's published OpenAPI description
How to test the Census API in Swastik Codes
- Open the APISelect “Fork & run in Swastik Codes” on this page. Sign in or create a free account if asked.
- Fork it into your workspaceChoose a workspace. You get your own copy of the Census API collection, without the publisher's secrets.
- Add your credentialsThis API uses A bearer token in the Authorization header. Add yours in the collection's variables or an environment; the requests already reference it.
- Send a requestPick an endpoint, for example “Search listings” (GET /api/v1/listings), and press Send. Check the response, add tests and run the whole collection with the runner.
Frequently asked questions
What is the Census API?
Every electric and plug-in hybrid vehicle listed for sale in the United States that Census tracks — new, used and certified — read from dealers' own sites and… It is listed under Logistics & shipping and has 7 endpoints.
Who publishes the Census API?
It is listed from Census EV's public API description (an OpenAPI document), not published by Census EV on Swastik Codes. Anyone who controls censusev.com can claim the profile by adding a DNS TXT record.
What is the base URL of the Census API?
Requests go to https://censusev.com. Endpoint paths are added to this base URL.
How do I authenticate with the Census API?
With A bearer token in the Authorization header.
How many endpoints does the Census API have?
7 operations on 7 paths (7 GET).
Is forking the Census API free?
Yes. Forking copies the collection into your workspace for free. It has been starred 0 times and forked 0 times.