SDKs & Tools

REST API

All Stableyard functionality is available through the REST API. The base URL is:
https://api.stableyard.fi/v2

OpenAPI Specification

The full OpenAPI spec is available at:
  • JSON: https://api.stableyard.fi/sdk.json
  • YAML: https://api.stableyard.fi/sdk.yaml
Use these to generate client libraries in any language with tools like openapi-generator.

cURL Examples

A complete set of cURL examples covering all endpoints is available in the repository at scripts/api-curl-examples.sh.

Postman Collection

Import the Stableyard API collection into Postman from postman/Stableyard_API_v2.postman_collection.json in the repository.

Authentication in SDKs

All requests require an Authorization: Bearer <token> header. Use:
  • sy_secret_* / sy_test_secret_* for server-side calls
  • sy_pub_* / sy_test_pub_* for client-side calls
  • sy_auth_* for wallet-authenticated user sessions