API
:::info Coming soon
The public API ships in the 2-4 week window. This page will document POST /api/v1/transaction, auth, rate limits, error codes, and the OpenAPI spec when it's live.
:::
The shape it's heading toward:
POST https://api.fliplabs.ai/v1/transaction
Authorization: Bearer <api-key>
Content-Type: application/json
{
"prompt": "swap 100 USDC to ETH on Base",
"userPublicKey": "0x...",
"simulate": true
}
Returns either an actionable plan (one or more unsigned transactions) or a reasoning response (when the prompt is informational or a transaction can't be built).