Quote every carrier, streaming

The same fan-out as POST /ai/shipping/rate, but pushed over Server-Sent Events: each carrier's result arrives as soon as it answers instead of waiting for the slowest.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params

Identify the origin in any one of three ways: origin_zip, origin_city, or origin_address_id pointing at a saved address. At least one is required.

number
required
≥ 0.01

Package weight. Required.

string
string
string
length between 2 and 2
Defaults to MX
string
length between 2 and 2
Defaults to MX
string
string
string
length ≤ 100
string
string
string
length ≤ 100
number
≥ 0.01
number
≥ 0.01
number
≥ 0.01
string
length ≤ 255
number
≥ 0
string
length ≤ 5
string
enum
Allowed:
string
enum
Allowed:
carriers
array of strings
length ≤ 30

Restrict the fan-out to these carriers. Omit it and every carrier available to you is tried.

carriers
integer

A saved address id, instead of spelling the origin out.

integer
package_additional_services
array of objects
package_additional_services
string
length ≤ 50

Tax ID of the party, when the country needs one. Brazil requires it; most countries do not ask for it at all. See Address Rules by Country.

string
length ≤ 50

Tax ID of the party, when the country needs one. Brazil requires it; most countries do not ask for it at all. See Address Rules by Country.

Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Responses

429

Rate limit exceeded. Every response carries x-rate-limit-limit, x-rate-limit-remaining and x-rate-limit-reset; read them rather than assuming a fixed number.

Verified headers: x-rate-limit-limit: 300, x-rate-limit-remaining, and x-rate-limit-reset as a Unix timestamp. They are on every response, not only on a 429, so you can slow down before being refused.

Language
Credentials
Bearer
JWT
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
text/event-stream
application/json