Fast Fill - Relay

Documentation Index

Fetch the complete documentation index at: /llms.txt

Use this file to discover all available pages before exploring further.

cURL

curl --request POST \
  --url https://api.relay.link/fast-fill \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <x-api-key>' \
  --data '
{
  "requestId": "<string>"
}
'
const options = {
  method: 'POST',
  headers: {'x-api-key': '<x-api-key>', 'Content-Type': 'application/json'},
  body: JSON.stringify({requestId: '<string>'})
};

fetch('https://api.relay.link/fast-fill', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
import requests

url = "https://api.relay.link/fast-fill"

payload = { "requestId": "<string>" }
headers = {
    "x-api-key": "<x-api-key>",
    "Content-Type": "application/json"
}

response = requests.post(url, json=payload, headers=headers)

print(response.text)

Status Codes

Response Examples

{
  "message": "Request successfully queued for fast fill."
}
{
  "message": "Currency is required and could not be determined."
}
{
  "message": "Unauthorized: Check API Key"
}
{
  "message": "Forbidden: Fast fill requires a sponsoring wallet with app balance."
}
{
  "message": "Request not found"
}
{
  "message": "Conflict: This request is already being processed."
}
{
  "message": "An internal server error occurred."
}

Headers

Body

Response