Trading via Masumi MIP-003
Masumi is an agent payment and coordination protocol. MIP-003 is its standard job-execution interface - a singlePOST /start_job endpoint that any buyer agent calls to trigger work from a service agent.
Ascend runs a Masumi agent that maps MIP-003 startJob calls to Ascend trading API actions. This means any Masumi-compatible agent can research markets, place orders, and manage positions on Ascend without needing direct API key access.
How It Works
- Buyer agent calls startJob - The buyer agent sends a
POST /start_jobto Ascend’s Masumi agent with anidentifier_from_purchaserandinput_dataarray describing the desired action. - Adapter executes the Ascend action - The adapter calls the appropriate Ascend API endpoint using its own credentials.
- Buyer polls for status - The buyer agent polls
GET /status?job_id={uuid}until the job is complete, then retrieves the result.
startJob Endpoint
Full API docs: https://masumi.ascend.market/docs#/mip003/startJobPOST /start_job
| Field | Type | Description |
|---|---|---|
identifier_from_purchaser | string | Buyer reference. Hex 14-26 chars used as-is; any other string is hashed to a Masumi purchaser ID. |
input_data | array | Key-value pairs describing the job. See input actions below. |
Input Actions
Theaction key in input_data maps to Ascend API operations.
list_markets
Returns all active markets with current mark prices.get_market
Returns detail for a single market by slug.place_order
Places a market or limit order on behalf of the buyer’s linked address.trigger_price <= mark_price for YES LIMIT orders and trigger_price >= mark_price for NO LIMIT orders before executing.
get_positions
Returns all open positions for the buyer’s linked wallet address.Related Endpoints
| Endpoint | Description |
|---|---|
GET /availability | Check if Ascend’s Masumi agent is live and accepting jobs |
GET /input_schema | Full field definitions for all supported actions |
GET /status?job_id={uuid} | Poll job status: pending, running, complete, failed |