AcademyUsing the FXSynapse API
Advanced7 min read5 steps

Using the FXSynapse API

Integrate AI chart analysis into your own trading bots, apps, or workflows using our REST API.

1

Get your API key

Go to the API tab in your dashboard and generate an API key. Keep this key secret — it's linked to your account and credits.

2

Make your first API call

Send a POST request to /api/v1/analyze with your chart image as multipart form data. Include your API key in the Authorization header. The response contains the full analysis JSON.

3

Handle the response

The API returns structured JSON with entry, TP levels, SL, confidence, patterns detected, and the annotated chart as a base64 image. Parse this into your application.

4

Rate limits & credits

Each API call uses one scan credit. Rate limits depend on your plan. The API returns clear error codes — handle 429 (rate limited) and 402 (no credits) gracefully.

5

Build automated workflows

Combine with TradingView webhooks, Telegram bots, or your own scripts. Capture chart → send to API → get analysis → execute trade. Full automation is possible.

RELATED TUTORIALS