Introduction
The Anthic Trade API is a REST-based API which allows you to view supported tokens, order books, accounts and submit limit orders.
Base URL
Staging (Stokenet): https://trade-api.staging.anthic.io
Production (Mainnet): N/A
Methods
| Method | Path | Authentication Required | Description | 
|---|---|---|---|
| GET | /network/status | No | Get network status including current epoch | 
| GET | /trade/info | No | Get fee info and verify parent access rule | 
| GET | /trade/account_addresses/:address | No | Get the level of an account address | 
| GET | /trade/tokens | No | Get supported tokens and associated info per token. | 
| GET | /trade/token_pairs | No | Get supported token pairs which have order books | 
| GET | /trade/accounts | Yes | Get ledger data around your ledger account | 
| GET | /trade/order_book?base=base"e=quote | No | Get an order book of some token pair | 
| POST | /trade/orders | No | Submit a Limit Order | 
| GET | /instamint/info | No | Get associated instamint component and resource addresses | 
| GET | /instamint/accounts | Yes | Get instamint accounts | 
| POST | /construction/compose | No | Compose a Limit Order Subintent Manifest | 
| POST | /construction/parse | No | Parse a subintent manifest into a Limit Order | 
| POST | /construction/create_subintent | No | Create a Subintent | 
| POST | /construction/sign | No | Create a Signed Partial Transaction given a subintent and signature |