# IBKR 3rd Party Web API API

> IBKR 3rd Party Web API API on Apizie: 16 endpoints (Brokerage Accounts, Return margin impact info, Open Orders, Place Order, …) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/finance:interactivebrokers/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `finance:interactivebrokers`
- Category: Finance
- Status: byok
- Source: https://interactivebrokers.com
- Page: https://apizie.tech/api/finance/interactivebrokers
- OpenAPI: https://apizie.tech/api/finance/interactivebrokers/openapi.json

Interactive Brokers Web API for 3rd Party Companies

## Endpoints

### Brokerage Accounts
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |

### Return margin impact info
`POST https://apizie.tech/v1/finance:interactivebrokers/post-accounts-account-order-impact` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |
| body | object | yes | JSON request body |

### Open Orders
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts-account-orders` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |

### Place Order
`POST https://apizie.tech/v1/finance:interactivebrokers/post-accounts-account-orders` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |
| body | object | yes | JSON request body |

### Return specific order info
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts-account-orders-customer-order-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |
| CustomerOrderId | string | yes | Customer Order ID |

### Modify Order
`POST https://apizie.tech/v1/finance:interactivebrokers/put-accounts-account-orders-customer-order-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |
| CustomerOrderId | string | yes | Customer Order ID |
| body | object | yes | JSON request body |

### Cancel Order
`POST https://apizie.tech/v1/finance:interactivebrokers/delete-accounts-account-orders-customer-order-id` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |
| CustomerOrderId | string | yes | Customer Order ID |

### Account Positions
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts-account-positions` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |

### Account Values Summary
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts-account-summary` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |

### Returns trades in account
`GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts-account-trades` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| account | string | yes | Account Number |

### Exchange Components
`GET https://apizie.tech/v1/finance:interactivebrokers/get-marketdata-exchange-components` (byok)

### Market Data Snapshot
`GET https://apizie.tech/v1/finance:interactivebrokers/get-marketdata-snapshot` (byok)

### Obtain a access token
`POST https://apizie.tech/v1/finance:interactivebrokers/post-oauth-access-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Obtain a live session token
`POST https://apizie.tech/v1/finance:interactivebrokers/post-oauth-live-session-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Obtain a request token
`POST https://apizie.tech/v1/finance:interactivebrokers/post-oauth-request-token` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| body | object | yes | JSON request body |

### Get security definition
`GET https://apizie.tech/v1/finance:interactivebrokers/get-secdef` (byok)

## Example
```
curl "https://apizie.tech/v1/finance:interactivebrokers/get-accounts" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the IBKR 3rd Party Web API API?
Create a free Apizie key, then send GET https://apizie.tech/v1/finance:interactivebrokers/get-accounts with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the IBKR 3rd Party Web API API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. IBKR 3rd Party Web API itself also needs your own key from interactivebrokers.com.

### Can AI agents use the IBKR 3rd Party Web API API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key finance:interactivebrokers.

### What is the status of the IBKR 3rd Party Web API API?
Needs your own provider key (bring your own key)
