Back to blog

How to Get Started with the Meta Fiver API

getting-startedapimt5integration

The Meta Fiver API gives you programmatic access to MT5 account reports and analytics without building broker integrations. Here’s how to get started in minutes.

1. Create an account

Sign up at Meta Fiver and verify your email. Once logged in, you’ll land on the dashboard where you can manage API keys and subscribed accounts.

2. Create an API key

Go to Dashboard → API Keys and create a new key. Give it a label (e.g. “Production” or “Development”) and copy the key immediately—it’s shown only once. Store it securely (e.g. in environment variables).

3. Subscribe an MT5 account

Use Dashboard → Accounts to add an MT5 account. You’ll need the account number, broker name, and MT5 login credentials. Meta Fiver will sync history and keep reports up to date.

4. Make your first request

Use the Reports API to fetch data for a subscribed account:

GET /api/v1/accounts/:accountNumber
Authorization: Bearer YOUR_API_KEY

Replace :accountNumber with the MT5 account number and send the request. The response includes balance, equity, P&L, drawdown, and trade history in a structured format.

For full request/response examples and error handling, see the API docs. Next, check out our guide on fetching account reports step by step.