# Mercado Libre Shipping Options API Documentation

Returns the shipping options Mercado Libre offers for one item to a destination zip code: cost, list price, delivery date, pay-before deadline, handling time, shipping method and discount. The zip code must belong to the country of the item. Brazil needs the hyphen, for example 01310-100. A zip code from another country answers 422. Catalogue product ids are not accepted, use an item id. Failed requests (404, 422, 503) are never billed. A valid answer with zero rows is a successful, billable 200.

- **Documentation:** [https://scrappa.co/docs/mercadolibre-api/mercadolibre_shipping_options](https://scrappa.co/docs/mercadolibre-api/mercadolibre_shipping_options)
- **API group:** Mercado Libre API
- **Endpoint:** `GET https://scrappa.co/api/mercadolibre/shipping-options`

## Authentication

Send your Scrappa API key in the `X-API-KEY` request header. Paid endpoints also support accountless x402 payments when called without an API key.

## Parameters

| Parameter | Type | Required | Description |
| --- | --- | --- | --- |
| `item_id` | string | Yes | Item id, for example MLA3965765480. |
| `zip_code` | string | Yes | Destination zip code of the item country, for example 1426 (Argentina) or 01310-100 (Brazil). |

## Example request

```bash
#!/bin/bash

curl -X GET \
    -H "x-api-key: YOUR_API_KEY_HERE" \
    "https://scrappa.co/api/mercadolibre/shipping-options?item_id=MLA3965765480&zip_code=1426"
```

## Example response

```json
{
    "success": true,
    "data": {
        "item_id": "MLA3965765480",
        "destination": {
            "zip_code": "1426",
            "state": {
                "id": "AR-C",
                "name": "Capital Federal"
            },
            "country": {
                "id": "AR",
                "name": "Argentina"
            }
        },
        "options": [
            {
                "id": 2237480731,
                "currency": "ARS",
                "cost": 10490,
                "base_cost": 10490,
                "list_cost": 10490,
                "display": "recommended",
                "shipping_method_id": 510445,
                "shipping_method_type": "next_day",
                "shipping_option_type": "address",
                "delivery_date": "2026-10-20T00:00:00-03:00",
                "pay_before": "2026-10-20T12:35:00-03:00",
                "handling_hours": 0
            }
        ],
        "total": 6
    },
    "meta": {
        "endpoint_family": "shipping_options",
        "billable": true
    }
}
```

## Errors

| Status | Error | Description |
| --- | --- | --- |
| 404 | Not Found | The item, category or store does not exist on this site. This response is not billable. |
| 422 | Validation Error | A parameter is invalid: unknown site, an id that does not belong to the site, a limit out of range, rating other than 1 to 5, or a zip code of another country. This response is not billable. |
| 503 | Service Unavailable | The service could not obtain a complete result from Mercado Libre. This response is not billable. |

## More Scrappa resources

- [API documentation](https://scrappa.co/docs)
- [Full LLM-readable API reference](https://scrappa.co/llms-full.txt)
- [OpenAPI specification](https://scrappa.co/docs/api.json)
- [Pricing](https://scrappa.co/pricing)
