For AI

Object

ShippingQuote object

What shipping a product to a place costs, by the supplier's freight template. The same fields on every platform. A field a platform does not show is null, and meta.unavailable names it with the reason.

FieldTypeFrom viewDescription
product_idstringcompactThe product.
destinationstringcompactWhere it ships to, as shown.
unitstring | nullcompactWhat the fee is counted by: kg or piece.
first_unitsnumber | nullcompactHow much the first fee covers, in unit.
first_feenumber | nullcompactThe first fee, in the currency given.
next_unitsnumber | nullcompactEach further step, in unit.
next_feenumber | nullcompactThe fee for each further step.
quantityinteger | nullcompactItems the quote is for.
weight_kgnumber | nullcompactWeight the quote is for, in kg, where given.
total_feenumber | nullcompactThe fee for that quantity or weight; null where the marketplace does not work it out (use the steps above).
currencystringcompactISO 4217 currency code.
extobjectfullPlatform-specific extras. Only returned with view=full. · only with view=full

Endpoints that return a ShippingQuote

Connect once, then just ask.

Every new key comes with $0.10 to try it. One sentence connects your agent.

Start free
Connect your AI

Paste this into your agent

Read https://okdata.online/agents.md and set up okdata for me; my key is in the OKDATA_API_KEY environment variable.

Claude Code, Cursor, Codex and other agents that can open a link set themselves up from it.

MCP serverhttps://api.okdata.online/mcp