JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/artashippinginc/json-schema/artashippinginc-import-cost-estimate-create-schema.json",
"title": "ImportCostEstimateCreate",
"x-generated": "2026-11-10",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/artashippinginc-import-cost-estimates-api-openapi.yml#/components/schemas/ImportCostEstimateCreate",
"oneOf": [
{
"additionalProperties": false,
"description": "Create an import cost estimate by providing origin, destination, objects, and transport details directly",
"properties": {
"import_cost_estimate": {
"properties": {
"currency": {
"default": "USD",
"description": "ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint",
"maxLength": 3,
"minLength": 3,
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string",
"x-struct": null,
"x-validate": null
},
"destination": {
"description": "Details about the destination where it will be imported to",
"properties": {
"city": {
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"country": {
"description": "ISO 3166-1 alpha-2 country code of the destination",
"type": "string",
"x-struct": null,
"x-validate": null
},
"postal_code": {
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"region": {
"description": "State, province, or region of the destination. May be required depending on the destination country.",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
}
},
"required": [
"country"
],
"type": "object",
"x-struct": null,
"x-validate": null
},
"end_use": {
"description": "Optional field specifying the end use of the goods",
"enum": [
"for_resale",
"not_for_resale"
],
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"objects": {
"description": "List of objects/items being imported",
"items": {
"properties": {
"country_of_origin": {
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"hs_code": {
"description": "Harmonized System (HS) tariff code for the object",
"type": "string",
"x-struct": null,
"x-validate": null
},
"quantity": {
"description": "Quantity of the object",
"type": [
"number",
"null"
],
"x-struct": null,
"x-validate": null
},
"reference": {
"description": "Reference identifier for the object",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"value": {
"description": "Declared value of the object",
"type": "string",
"x-struct": null,
"x-validate": null
},
"value_currency": {
"description": "Currency code (ISO 4217) used for the object's declared value",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
}
},
"required": [
"hs_code",
"value",
"value_currency"
],
"type": "object",
"x-struct": null,
"x-validate": null
},
"type": "array",
"x-struct": null,
"x-validate": null
},
"origin": {
"properties": {
"country": {
"description": "ISO 3166-1 alpha-2 country code of the origin",
"type": "string",
"x-struct": null,
"x-validate": null
}
},
"required": [
"country"
],
"type": "object",
"x-struct": null,
"x-validate": null
},
"reference": {
"description": "Optional reference string for identifying the estimate in your systems",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"transport": {
"description": "Information about the transport method and cost",
"properties": {
"amount": {
"description": "Total transport cost",
"type": "string",
"x-struct": null,
"x-validate": null
},
"amount_currency": {
"description": "Currency code (ISO 4217) for the transport amount (optional)",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"service_level": {
"description": "Service level for transport (e.g., ups_expedited, fedex_international_first etc). Options are listed in the reference rate service levels metadata endpoint",
"type": "string",
"x-struct": null,
"x-validate": null
}
},
"required": [
"amount",
"amount_currency",
"service_level"
],
"type": "object",
"x-struct": null,
"x-validate": null
}
},
"required": [
"destination",
"origin",
"objects",
"transport"
],
"type": "object",
"x-struct": null,
"x-validate": null
}
},
"required": [
"import_cost_estimate"
],
"title": "DirectImportCostEstimatePayload",
"type": "object",
"x-struct": null,
"x-validate": null
},
{
"additionalProperties": false,
"description": "Create an import cost estimate from an existing quote. The quote provides transport, origin/destination, and object data. Objects on the quote's request must include hs_code for the estimate to be created.",
"properties": {
"import_cost_estimate": {
"properties": {
"currency": {
"default": "USD",
"description": "ISO 4217 three-letter alphabetic currency code. Options are defined in the Currencies metadata endpoint",
"maxLength": 3,
"minLength": 3,
"pattern": "^[A-Z]{3}$",
"title": "Currency",
"type": "string",
"x-struct": null,
"x-validate": null
},
"end_use": {
"description": "Optional field specifying the end use of the goods",
"enum": [
"for_resale",
"not_for_resale"
],
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
},
"quote_id": {
"description": "The ID of an existing quote to derive the import cost estimate from",
"format": "int64",
"type": "integer",
"x-struct": null,
"x-validate": null
},
"reference": {
"description": "Optional reference string for identifying the estimate in your systems",
"type": [
"string",
"null"
],
"x-struct": null,
"x-validate": null
}
},
"required": [
"quote_id"
],
"type": "object",
"x-struct": null,
"x-validate": null
}
},
"required": [
"import_cost_estimate"
],
"title": "ImportCostEstimateFromQuotePayload",
"type": "object",
"x-struct": null,
"x-validate": null
}
],
"x-struct": "Elixir.DocsWeb.Schemas.RequestBody.ImportCostEstimateCreate",
"x-validate": null
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/artashippinginc-import-cost-estimate-create"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.