# World Shipping Pricing

## Get the cheaper price of your shipping in 198 countries.

<mark style="color:green;">`POST`</mark> `https://api.transiteo.io/v1/aishippingpricing`

### JSON Request Format

```
{
    “quote”: {
        “shipper”: {
          “country”: string,
          “postal_code”: string,
          “city”: string
        },
        “recipient”: {
          “is_a_company”: boolean,
          “country”: string,
          “postal_code”: string,
          “city”: string
        },
        “parcels”: [
          {
            “weight”: number,
            “length”: number,
            “width”: number,
            “height”: number
          }
        ]
    }
}
```

### Request fields

#### "quote" / "shipper" / "country"

Fill this value with the shipper country\
\&#xNAN;***Examples :*** FR \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "shipper" / "postal\_code"

Fill this value with the shipper postal code\
\&#xNAN;***Examples :*** 67000 \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "shipper" / "city"

Fill this value with the shipper city\
\&#xNAN;***Examples :*** Strasbourg \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "recipient" / "is\_a\_company"

Fill this value with true if the recipient is a company/pro.\
\&#xNAN;***Examples :*** true or false \
\&#xNAN;***Type :** boolean*\
\&#xNAN;***Required :** yes*

#### "quote" / "recipient" / "country"

Fill this value with the recipient country\
\&#xNAN;***Examples :*** FR \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "recipient" / "postal\_code"

Fill this value with the recipient postal code\
\&#xNAN;***Examples :*** 67000 \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "recipient" / "city"

Fill this value with the recipient city\
\&#xNAN;***Examples :*** Strasbourg \
\&#xNAN;***Type :** string*\
\&#xNAN;***Required :** yes*

#### "quote" / "parcels" / "weight"

Fill this value with the parcel weight (in kg)\
\&#xNAN;***Examples :*** 4.7 \
\&#xNAN;***Type :** number*\
\&#xNAN;***Required :** yes*

#### "quote" / "parcels" / "length"

Fill this value with the parcel length\
\&#xNAN;***Examples :*** 20 \
\&#xNAN;***Type :** number*\
\&#xNAN;***Required :** yes*

#### "quote" / "parcels" / "width"

Fill this value with the parcel width\
\&#xNAN;***Examples :*** 30 \
\&#xNAN;***Type :** number*\
\&#xNAN;***Required :** yes*

#### "quote" / "parcels" / "height"

Fill this value with the parcel height\
\&#xNAN;***Examples :*** 15 \
\&#xNAN;***Type :** number*\
\&#xNAN;***Required :** yes*

####

### JSON Response Format

```
{
    “amount”: number,
    “currency”: string,
    “carrier_code”: string,
    “code”: string,
    “name”: string,
    “delay”: string,
    “timestamp”: number
}
```

### Response fields & values

#### "amount"

This value is the shipping price amount of your parcel (with locals taxes) \
\&#xNAN;***Example :**  39.65*\
\&#xNAN;***Type :** number* &#x20;

#### "currency"

This value is the shipping price currency of your parcel\
\&#xNAN;***Example :**  EUR*\
\&#xNAN;***Type :** string* &#x20;

#### "carrier\_code"

This value is the carrier code of your shipment \
\&#xNAN;***Example :**  dhl*\
\&#xNAN;***Type :** string* &#x20;

#### "code"

This value is the code of your shipment  \
\&#xNAN;***Example :**  HU83*\
\&#xNAN;***Type :** string* &#x20;

#### "name"

This value is the carrier name of your shipment  \
\&#xNAN;***Example :**  DHL*\
\&#xNAN;***Type :** string* &#x20;

#### "delay"

This value is the delay of your shipment  \
\&#xNAN;***Example :**  24-48*\
\&#xNAN;***Type :** string* &#x20;

#### "timestamp"

We provide the result timestamp. \
\&#xNAN;***Example :**  "*&#x31;63844060227&#x31;*"*\
\&#xNAN;***Type :** string* &#x20;
