---
title: "POST /api/history/{instrument}/import"
method: POST
path: "/api/history/{instrument}/import"
tags: ["History"]
---

# POST /api/history/{instrument}/import

`POST /api/history/{instrument}/import`

## Request

- Base URL: `https://market-data-api.evedex.com`
- URL: `https://market-data-api.evedex.com/api/history/{instrument}/import`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/evedex/apis/evedex-market-data/docs/api/history/:instrument/import/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `instrument` string, required

## Request body

- ImportHistoryBody
  - `after` string, required
  - `before` string
  - `group` '1s' | '1m' | '3m' | '5m' | '15m' | '30m' | '1h' | '4h' | '6h' | '12h' | '1d' | '1w' | '1mo'
  - `source` 'binance' | 'bitget' | 'bybit', required
  - `sourceInstrument` string, nullable
  - `coefficient` number, nullable
  - `contractType` string, nullable

## Response `200`

200 OK

- EmptyResponse

---

[API](https://skmtc.dev/evedex/apis/evedex-market-data.md) - [All operations](https://skmtc.dev/evedex/apis/evedex-market-data/llms.txt) - [OpenAPI document](https://skmtc.dev/evedex/apis/evedex-market-data/revisions/8c82753fdbca?raw)
