How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Ajaib Spot Trading API

View, place and cancel spot orders and trades.

Ajaib Spot Trading API is one of 3 APIs that Ajaib publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Spot Trading. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an API reference, a getting-started guide, and authentication docs.

This API exposes 9 operations across 5 paths, and defines 13 schemas. It is described by OpenAPI 3.2.0, at version v1.

Requests are made against 2 base URLs: https://api.ajaib.co.id, https://api.ajaib.tech.

9 operations 5 paths 13 schemas 3 DELETE3 GET3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
v1
Base URL
https://api.ajaib.co.id
Authentication
API Key, API Key, API Key
Resource Areas
1

Authentication & Security 3

Ajaib Spot Trading API declares 3 security schemes for authenticating requests. An API key is passed in the header as X-API-KEY (ApiKeyAuth). An API key is passed in the header as X-SIGNATURE (SignatureAuth). An API key is passed in the header as X-TIMESTAMP (TimestampAuth). By default, every request must be authenticated.

  • ApiKeyAuth — The API key generated for the exchange client by Ajaib.
  • SignatureAuth — ECDSASHA256 signature over the concatenation of timestamp + method + requestPath + queryParam + requestBody, signed with the client's private key.
  • TimestampAuth — Unix timestamp in milliseconds, UTC timezone.

Paths & Operations 9

Across 5 paths, the API surfaces 9 operations — 3 DELETE, 3 GET, 3 POST. Each is listed below with its method, path, parameters, and response codes.

Spot Trading 9

View, place and cancel spot orders and trades.

GET
/coin/internal/v1/trades
Retrieve all trades under the exchange client
getTrades 3 params → 200401
GET
/coin/internal/v1/order
Retrieve an order under the exchange client
getOrder 2 params → 200401
POST
/coin/internal/v1/order
Create a new order under the exchange client
createOrder body → 200400401
DELETE
/coin/internal/v1/order
Cancel an order under the exchange client
cancelOrder 2 params → 200400401
GET
/coin/internal/v1/order/open
Retrieve all open orders under the exchange client
getOpenOrders 3 params → 200401
DELETE
/coin/internal/v1/order/open
Cancel all open orders under the exchange client
cancelAllOpenOrders 1 param → 200401
POST
/coin/internal/v1/order/self-trading
Create a new self-trading order
createSelfTradingOrder body → 200401
POST
/coin/internal/v1/order/batch
Create multiple new orders from a single request
createBatchOrders body → 200400401
DELETE
/coin/internal/v1/order/batch
Cancel multiple orders under the exchange client
cancelBatchOrders body → 200401

Schemas 13

The contract defines 13 schemas that model the data the API accepts and returns. The most detailed are Order (11 properties), Trade (9 properties), NewOrderRequest (5 properties), BatchOrderItem (4 properties). Each schema is shown below with its type and property counts.

OrderSide
string
BUY takes away liquidity from the order book (taker); SELL supplies liquidity to the order book (maker).
BatchCancelRequest
object
2 properties 2 required
NewOrderRequest
object
5 properties 5 required
BatchCancelResult
object
2 properties
BatchOrderItem
object
4 properties 4 required
Trade
object
9 properties
SelfTradingOrderRequest
object
3 properties 3 required
Order
object
11 properties
OrderType
string
LIMIT, MARKET, or LIMITMAKER (if the order is a taker, it will be expired).
BatchNewOrdersRequest
object
2 properties 2 required
NewOrderResponse
object
2 properties
Error
object
1 property
OrderStatus
string

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

ajaib-spot-trading-api-openapi.yml Raw ↑

Other APIs Ajaib publishes across the network.

Ajaib Market Info API
Ajaib Wallet API
Where this information came from

This is an independent, third-party profile of Ajaib Spot Trading API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.