{
  "format": "delx/intent-card/v1",
  "id": "json-keys-api",
  "intent": "JSON Object Keys for an agent workflow",
  "title": "JSON Object Keys API for agents",
  "description": "List top-level JSON keys. Call when agents must discover object shape without full schema inference. Returns top-level keys of a JSON object. $0.001 USDC per successful call via x402 on Base—deterministic first-party JSON, no API key, no subscription, and nothing is billed on structured validation errors.",
  "keywords": [
    "JSON Object Keys API",
    "JSON Object Keys for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/json-keys-api",
  "machine_url": "https://commerce.delx.ai/intents/json-keys-api.json",
  "recommendation": {
    "tool_name": "util_json_keys",
    "service_name": "JSON Object Keys",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/json-keys",
    "price_usdc": "0.001",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "json_text": {
          "type": "string",
          "description": "json_text"
        }
      },
      "required": [
        "json_text"
      ]
    },
    "example_input": {
      "json_text": "{\"agent\":\"delx\",\"ready\":true}"
    },
    "example_output": {
      "schema": "delx/json-keys/v1",
      "keys": [
        "agent",
        "ready"
      ],
      "count": 2
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/json-keys -m POST -H 'x-delx-source: intent-card-json-keys-api' --max-amount 0.001 -b '{\"json_text\":\"{\\\"agent\\\":\\\"delx\\\",\\\"ready\\\":true}\"}'",
      "max_amount_usdc": "0.001"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-json-keys-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/json-keys"
  }
}
