Skip to main content
GET
https://api.compose.market
/
api
/
agent
/
{id}
Get Agent Card
curl --request GET \
  --url https://api.compose.market/api/agent/{id}
{
  "schemaVersion": "1.0.0",
  "agentId": 42,
  "endpoint": "https://api.compose.market/api/agent/42/invoke",
  "protocols": [
    { "name": "x402", "version": "1.0" }
  ]
}

Path

id
string
required
The agent ID (number) or address.
{
  "schemaVersion": "1.0.0",
  "agentId": 42,
  "endpoint": "https://api.compose.market/api/agent/42/invoke",
  "protocols": [
    { "name": "x402", "version": "1.0" }
  ]
}