Skip to main content
This guide uses vehicle pricing because it needs no media upload. Use it to verify your production credentials and job handling.

Prerequisites

  • A production organisation API key beginning with chk_live_.
  • curl and jq.
  • The API base URL: https://api.trycarhub.com.
1

Create and store a live API key

Create a production API key in the CarHub dashboard. Store it in your secret manager and expose it to your service at runtime.
2

Submit a request

wait=true is supported by this fast endpoint. CarHub waits for up to 30 seconds and returns the completed job when it can.
3

Poll when a job is queued

If the response is 202, save its id and retrieve it until its status is terminal.
Send an Idempotency-Key on every POST. Retrying the same payload then returns the original response and cannot charge the job twice.

Next steps