# Imports

> Import a product listing from its link and get each variant's landed cost and suggested price.

Source: https://www.ninjabuy.com/business/docs/api/imports

Paste a listing link, get back its variants and what each one costs you to sell: the goods, our CN¥12.00 intake fee for the seller's parcel to us, the 14% flat tax, then the shipping lane, the CN¥49.00 handling fee per parcel and the tax on those, the marketplace's fee, and the price that keeps your margin.

- Importing is free, with no product limit. You pay only for what you order.
- Every figure is one unit, bought in its own order and shipped in its own parcel: one dropshipped sale. Several units in one order or one parcel cost less than this says.
- Marketplace fees default to each marketplace's public headline rate. Send your own when your category or plan differs.

Endpoints

- POST /v1/imports Import from a link
- POST /v1/imports/{id}/analysis Coming soon Price it again
- GET /v1/imports/{id} Retrieve an import
- GET /v1/imports List imports
- POST /v1/imports/{id}/save Save as a product

## The Import object

A listing as we read it, with what one sale costs landed at your buyer's door: the goods, our CN¥12.00 intake fee for the seller's parcel to us, the 14% flat tax, then the shipping lane, the CN¥49.00 handling fee per parcel and the tax on those. In US$, it is what a US$ card is charged, currency conversion included.

- `id` string

  Starts imp\_.

- `status` string

  running (a finds sheet still being read), ready, or failed.

- `url` string

  The link you sent.

- `marketplace` string

  taobao, tmall, weidian or 1688.

- `title, seller, images[]` string

  As the seller wrote them, in Chinese more often than not.

- `read_at` string

  When we last read the listing from the marketplace.

- `analysis.ship_to, lane, weight_g`

  The inputs it was priced for.

- `analysis.covered` boolean

  False when no published rate ships to that country on that lane; then no variant has a landed cost.

- `analysis.marketplace_fee` object

  percent and fixed: what the marketplace keeps of a sale. default is true when you sent none and we used its public headline rate, an estimate, never your real bill.

- `analysis.margin_reachable` boolean

  False when the fee and the margin together take the whole price: no price can reach it.

- `analysis.brand_hint` object|null

  Brand or replica words found in the title, in English or Chinese. A hint, never a verdict: it cannot see a logo in a photo, and a clean result proves nothing.

- `analysis.variants[].procurement` object

  goods, intake\_fee, tax and total of the order that buys one unit.

- `analysis.variants[].seller_shipping` object|null

  The seller's shipping to our warehouse. No listing carries it, so it is null: unknown, not free.

- `analysis.variants[].parcel` object|null

  lane, shipping, handling\_fee, tax and total of the parcel that ships it.

- `analysis.variants[].landed` object

  Item and parcel together: in CN¥, in US$, and the conversion fee included in the US$.

- `analysis.variants[].minimum_price` object|null

  The lowest price that keeps your margin after the marketplace fee.

- `analysis.variants[].suggested` object|null

  The lowest x.99 price at or above the minimum, with the fee, profit and margin it leaves.

- `product` string|null

  The product it became once saved.

import

```json
{  "id": "imp_2c9d",  "status": "ready",  "url": "https://weidian.com/item.html?itemID=7750970856",  "marketplace": "weidian",  "title": "Heavyweight washed hoodie",  "seller": "Ruoyi Studio",  "images": [    "https://media.ninjabuy.com/listings/weidian-7750970856/1.webp"  ],  "read_at": "2026-11-04T09:12:40Z",  "analysis": {    "ship_to": "US",    "lane": "saver",    "weight_g": 180,    "covered": true,    "marketplace": "ebay",    "marketplace_fee": {      "percent": "13.6",      "fixed": { "amount": "0.40", "currency": "USD" },      "default": true    },    "margin_percent": "30",    "margin_reachable": true,    "brand_hint": null,    "variants": [      {        "sku": "5187209554",        "label": "Black / M",        "in_stock": true,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      },      {        "sku": "5187209555",        "label": "Black / L",        "in_stock": false,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      }    ]  },  "product": null,  "created_at": "2026-11-04T09:12:41Z"}
```

## Import from a link

POST /v1/imports

Reads a product listing from its link (a short link, or another shopping agent's link to it, works too) and answers it analysed, in the same call. A listing we read in the last five minutes is not fetched again.

Finds sheet imports are not available through this route yet.

Scope products:write

### Body

- `url` string required

  A product listing link. Finds sheet imports are not available yet.

- `ship_to` string

  Two-letter country to price the parcel for. US when left out.

- `lane` string

  saver or fast. saver when left out.

- `weight_g` integer required

  The packed weight of one unit, in grams. Listings carry no weight, so the parcel is priced on yours.

- `marketplace` string

  Where you sell it: ebay, shopify, amazon or tiktok. shopify when left out.

- `marketplace_fee` object

  Optional. percent and fixed (US$) to use instead of the marketplace's headline rate, for your category or plan.

- `margin_percent` string

  The margin to price for, of the sale price. 30 when left out.

### Errors

| Status | Type          | When                                              |
| ------ | ------------- | ------------------------------------------------- |
| 400    | bad-body      | weight\_g is missing, or a field is out of range. |
| 422    | unprocessable | Not a link we can read, or the listing is gone.   |
| 429    | rate-limited  | The marketplace window is spent; see Rate limits. |

```bash
curl -X POST "https://www.ninjabuy.com/api/v1/imports" \  -H "Authorization: Bearer " \  -H "NinjaBuy-Version: 2026-11" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "url": "https://weidian.com/item.html?itemID=7750970856",    "ship_to": "US",    "weight_g": 180,    "marketplace": "ebay",    "margin_percent": "30"  }'
```

Response · 201

```
HTTP/2 201 Created​{  "id": "imp_2c9d",  "status": "ready",  "url": "https://weidian.com/item.html?itemID=7750970856",  "marketplace": "weidian",  "title": "Heavyweight washed hoodie",  "seller": "Ruoyi Studio",  "images": [    "https://media.ninjabuy.com/listings/weidian-7750970856/1.webp"  ],  "read_at": "2026-11-04T09:12:40Z",  "analysis": {    "ship_to": "US",    "lane": "saver",    "weight_g": 180,    "covered": true,    "marketplace": "ebay",    "marketplace_fee": {      "percent": "13.6",      "fixed": { "amount": "0.40", "currency": "USD" },      "default": true    },    "margin_percent": "30",    "margin_reachable": true,    "brand_hint": null,    "variants": [      {        "sku": "5187209554",        "label": "Black / M",        "in_stock": true,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      },      {        "sku": "5187209555",        "label": "Black / L",        "in_stock": false,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      }    ]  },  "product": null,  "created_at": "2026-11-04T09:12:41Z"}
```

## Price it again

POST /v1/imports/{id}/analysis Coming soon

The same listing for another country, lane, weight, marketplace or margin. Priced from what we already read, so it spends no marketplace call. Answers the new analysis and keeps it on the import.

Scope products:write

### Path parameters

- `id` string required

  The import's id.

### Body

- `ship_to` string

  Two-letter country to price the parcel for. US when left out.

- `lane` string

  saver or fast. saver when left out.

- `weight_g` integer required

  The packed weight of one unit, in grams. Listings carry no weight, so the parcel is priced on yours.

- `marketplace` string

  Where you sell it: ebay, shopify, amazon or tiktok. shopify when left out.

- `marketplace_fee` object

  Optional. percent and fixed (US$) to use instead of the marketplace's headline rate, for your category or plan.

- `margin_percent` string

  The margin to price for, of the sale price. 30 when left out.

### Errors

| Status | Type      | When                            |
| ------ | --------- | ------------------------------- |
| 404    | not-found | No such import on this account. |

```bash
curl -X POST "https://www.ninjabuy.com/api/v1/imports/imp_2c9d/analysis" \  -H "Authorization: Bearer " \  -H "NinjaBuy-Version: 2026-11" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "ship_to": "GB",    "lane": "fast",    "weight_g": 180,    "marketplace": "tiktok",    "margin_percent": "35"  }'
```

Response · 200

```
HTTP/2 200 OK​{  "ship_to": "GB",  "lane": "fast",  "weight_g": 180,  "covered": true,  "marketplace": "tiktok",  "marketplace_fee": {    "percent": "6",    "fixed": { "amount": "0.00", "currency": "USD" },    "default": true  },  "margin_percent": "35",  "margin_reachable": true,  "brand_hint": null,  "variants": [    {      "sku": "5187209554",      "label": "Black / M",      "in_stock": true,      "procurement": {        "goods": { "amount": "38.00", "currency": "CNY" },        "intake_fee": { "amount": "12.00", "currency": "CNY" },        "tax": { "amount": "7.00", "currency": "CNY" },        "total": { "amount": "57.00", "currency": "CNY" }      },      "seller_shipping": null,      "parcel": {        "lane": "saver",        "shipping": { "amount": "68.00", "currency": "CNY" },        "handling_fee": { "amount": "49.00", "currency": "CNY" },        "tax": { "amount": "16.38", "currency": "CNY" },        "total": { "amount": "133.38", "currency": "CNY" }      },      "landed": {        "cny": { "amount": "190.38", "currency": "CNY" },        "usd": { "amount": "27.71", "currency": "USD" },        "fx_fee": { "amount": "5.75", "currency": "CNY" }      },      "minimum_price": { "amount": "49.84", "currency": "USD" },      "suggested": {        "price": { "amount": "49.99", "currency": "USD" },        "marketplace_fee": { "amount": "7.20", "currency": "USD" },        "profit": { "amount": "15.08", "currency": "USD" },        "margin_percent": "30.16"      }    },    {      "sku": "5187209555",      "label": "Black / L",      "in_stock": false,      "procurement": {        "goods": { "amount": "38.00", "currency": "CNY" },        "intake_fee": { "amount": "12.00", "currency": "CNY" },        "tax": { "amount": "7.00", "currency": "CNY" },        "total": { "amount": "57.00", "currency": "CNY" }      },      "seller_shipping": null,      "parcel": {        "lane": "saver",        "shipping": { "amount": "68.00", "currency": "CNY" },        "handling_fee": { "amount": "49.00", "currency": "CNY" },        "tax": { "amount": "16.38", "currency": "CNY" },        "total": { "amount": "133.38", "currency": "CNY" }      },      "landed": {        "cny": { "amount": "190.38", "currency": "CNY" },        "usd": { "amount": "27.71", "currency": "USD" },        "fx_fee": { "amount": "5.75", "currency": "CNY" }      },      "minimum_price": { "amount": "49.84", "currency": "USD" },      "suggested": {        "price": { "amount": "49.99", "currency": "USD" },        "marketplace_fee": { "amount": "7.20", "currency": "USD" },        "profit": { "amount": "15.08", "currency": "USD" },        "margin_percent": "30.16"      }    }  ]}
```

## Retrieve an import

GET /v1/imports/{id}

Read a product import again.

Scope products:read

### Path parameters

- `id` string required

  The import's id.

### Errors

| Status | Type      | When                            |
| ------ | --------- | ------------------------------- |
| 404    | not-found | No such import on this account. |

```bash
curl "https://www.ninjabuy.com/api/v1/imports/imp_6t1b" \  -H "Authorization: Bearer " \  -H "NinjaBuy-Version: 2026-11"
```

Response · 200

```
HTTP/2 200 OK​{  "id": "imp_2c9d",  "status": "ready",  "url": "https://weidian.com/item.html?itemID=7750970856",  "marketplace": "weidian",  "title": "Heavyweight washed hoodie",  "seller": "Ruoyi Studio",  "images": [    "https://media.ninjabuy.com/listings/weidian-7750970856/1.webp"  ],  "read_at": "2026-11-04T09:12:40Z",  "analysis": {    "ship_to": "US",    "lane": "saver",    "weight_g": 180,    "covered": true,    "marketplace": "ebay",    "marketplace_fee": {      "percent": "13.6",      "fixed": { "amount": "0.40", "currency": "USD" },      "default": true    },    "margin_percent": "30",    "margin_reachable": true,    "brand_hint": null,    "variants": [      {        "sku": "5187209554",        "label": "Black / M",        "in_stock": true,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      },      {        "sku": "5187209555",        "label": "Black / L",        "in_stock": false,        "procurement": {          "goods": { "amount": "38.00", "currency": "CNY" },          "intake_fee": { "amount": "12.00", "currency": "CNY" },          "tax": { "amount": "7.00", "currency": "CNY" },          "total": { "amount": "57.00", "currency": "CNY" }        },        "seller_shipping": null,        "parcel": {          "lane": "saver",          "shipping": { "amount": "68.00", "currency": "CNY" },          "handling_fee": { "amount": "49.00", "currency": "CNY" },          "tax": { "amount": "16.38", "currency": "CNY" },          "total": { "amount": "133.38", "currency": "CNY" }        },        "landed": {          "cny": { "amount": "190.38", "currency": "CNY" },          "usd": { "amount": "27.71", "currency": "USD" },          "fx_fee": { "amount": "5.75", "currency": "CNY" }        },        "minimum_price": { "amount": "49.84", "currency": "USD" },        "suggested": {          "price": { "amount": "49.99", "currency": "USD" },          "marketplace_fee": { "amount": "7.20", "currency": "USD" },          "profit": { "amount": "15.08", "currency": "USD" },          "margin_percent": "30.16"        }      }    ]  },  "product": null,  "created_at": "2026-11-04T09:12:41Z"}
```

## List imports

GET /v1/imports

Newest first. Imports you never saved stay here for you to come back to.

Scope products:read

### Query parameters

- `status` string

  Optional. running, ready or failed.

- `saved` boolean

  Optional. true for the ones that became products.

- `limit, cursor`

  [Pagination](https://www.ninjabuy.com/business/docs/api.md#pagination)

```bash
curl "https://www.ninjabuy.com/api/v1/imports?saved=false&limit=2" \  -H "Authorization: Bearer " \  -H "NinjaBuy-Version: 2026-11"
```

Response · 200

```
HTTP/2 200 OK​{  "data": [    {      "id": "imp_2c9d",      "status": "ready",      "title": "Heavyweight washed hoodie",      "product": null    },    {      "id": "imp_2c7a",      "status": "ready",      "title": "Canvas tote, 3 colours",      "product": null    }  ],  "has_more": true,  "cursor": "c_2c7a"}
```

## Save as a product

POST /v1/imports/{id}/save

Keeps the variants you choose as a product, at the US$ prices you set or the suggested ones. Saving an import again returns its existing product. Pushing to Shopify through this API is not available yet ([Push to Shopify](https://www.ninjabuy.com/business/docs/api/products.md#push-product)).

Scope products:write

### Path parameters

- `id` string required

  The import's id.

### Body

- `variants[]` array

  Optional. sku and price of each variant to keep. Every in-stock variant at its suggested price when left out.

- `title` string

  Optional. Your own title; the seller's is in Chinese more often than not.

### Errors

| Status | Type          | When                                |
| ------ | ------------- | ----------------------------------- |
| 422    | unprocessable | Every variant you kept is sold out. |

```bash
curl -X POST "https://www.ninjabuy.com/api/v1/imports/imp_2c9d/save" \  -H "Authorization: Bearer " \  -H "NinjaBuy-Version: 2026-11" \  -H "Idempotency-Key: $(uuidgen)" \  -H "Content-Type: application/json" \  -d '{    "title": "Heavyweight Washed Hoodie",    "variants": [      {        "sku": "5187209554",        "price": { "amount": "49.99", "currency": "USD" }      }    ]  }'
```

Response · 201

```
HTTP/2 201 Created​{  "import": "imp_2c9d",  "product": "prd_8f2k",  "status": "draft",  "channels": []}
```

- The API is open on request. Our team sets up your Business account and issues its API keys.

  [Contact sales](https://www.ninjabuy.com/business#contact)
