# Tradeworks API

> Tradeworks API on Apizie: 8 endpoints (Get Strategy by ID, Get all Template Strategies, Add a Trading Account, Update MT4 Account Password, …) returned as clean JSON through one API key. 8 endpoints are live now. Call it over REST at https://zieapi.vercel.app/v1/finance:magick-nu/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `finance:magick-nu`
- Category: Finance
- Status: live
- Source: https://magick.nu
- Page: https://zieapi.vercel.app/api/finance/magick-nu
- OpenAPI: https://zieapi.vercel.app/api/finance/magick-nu/openapi.json

Authentication is required to access all methods of the API. Enter username and password. Credentials are automatically set as you type.

## Endpoints

### Get Strategy by ID
`GET https://zieapi.vercel.app/v1/finance:magick-nu/get-strategies-strategy-id-strategy-id`

| Parameter | Type | Required | Description |
|---|---|---|---|
| strategyId | string | yes |  |

### Get all Template Strategies
`GET https://zieapi.vercel.app/v1/finance:magick-nu/get-strategies-templates`

### Add a Trading Account
`POST https://zieapi.vercel.app/v1/finance:magick-nu/post-trading-accounts`

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

### Update MT4 Account Password
`POST https://zieapi.vercel.app/v1/finance:magick-nu/put-trading-accounts-password-username-brokerserver-mt4usern`

| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes |  |
| brokerserver | string | yes |  |
| mt4username | string | yes |  |
| body | object | yes | JSON request body |

### Create a new Tradeworks User
`POST https://zieapi.vercel.app/v1/finance:magick-nu/post-users`

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

### Check if email is available
`GET https://zieapi.vercel.app/v1/finance:magick-nu/get-users-email-email`

| Parameter | Type | Required | Description |
|---|---|---|---|
| email | string | yes |  |

### Update user's password
`POST https://zieapi.vercel.app/v1/finance:magick-nu/put-users-password-username`

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

### Check if username is available
`GET https://zieapi.vercel.app/v1/finance:magick-nu/get-users-username-username`

| Parameter | Type | Required | Description |
|---|---|---|---|
| username | string | yes |  |

## Example
```
curl "https://zieapi.vercel.app/v1/finance:magick-nu/get-strategies-strategy-id-strategy-id" \
  -H "x-api-key: $APIZIE_KEY"
```

## FAQ

### How do I call the Tradeworks API?
Create a free Apizie key, then send GET https://zieapi.vercel.app/v1/finance:magick-nu/get-strategies-strategy-id-strategy-id with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the Tradeworks API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card.

### Can AI agents use the Tradeworks API?
Yes. Add the Apizie MCP server (https://zieapi.vercel.app/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key finance:magick-nu.

### What is the status of the Tradeworks API?
Live: works with just an Apizie key
