Skip to Content
LandedFXDocs

Swap providers and whether each is up

GET
/api/v1/swap/providers

A provider that keeps failing is skipped until its cooldown ends, and quotes carry on with the others.

Response Body

application/json
  1. response
code*number

HTTP status code

message*string

Human-readable message

data?never
metadata?
errors?array<string>

Validation errors, when the request was rejected

Example Request
curl -X GET 'https://api.landedfx.com/api/v1/swap/providers'
Example Response200
{  "message": "string",  "metadata": {    "page": 1,    "limit": 20,    "totalDocs": 42,    "prevPage": null,    "nextPage": 2,    "totalPages": 3  },  "errors": [    "string"  ],  "code": 200,  "data": [    {      "id": "relay",      "label": "NEAR Intents",      "available": true,      "assets": 0,      "cooldownEndsAt": "string"    }  ]}