{
  "x402Version": 2,
  "id": 5366,
  "slug": "5366",
  "resource": "https://api-onchain.optimai.network/external/v1/x402/search",
  "description": "OptimAI Search: an agent-ready decentralized search API powered by OptimAI Network nodes. Ask a natural-language question and get real-time, citation-backed search results across web, social, and crypto data.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x98C67dfAd5f7D70e2782521cD09BB80f560ea2c3",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bDa02913",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "5KWo5n7zdRB7c66FAnrZi3NbDKE2bWTiP6G2p6oyVsCk",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "1000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "category": "search",
      "discoverable": true,
      "info": {
        "input": {
          "body": {
            "query": "What are the latest updates on OptimAI Network?"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "id": "00000000-0000-0000-0000-000000000000",
            "query": "What are the latest updates on OptimAI Network?",
            "status": "pending",
            "x402_payment_status": "verified_unsettled"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "query": {
                    "description": "Natural-language search or research question for an AI agent to answer with OptimAI Search.",
                    "maxLength": 1000,
                    "minLength": 1,
                    "type": "string"
                  },
                  "search_mode": {
                    "default": "search",
                    "description": "Select standard Search or text-only Agent mode.",
                    "enum": [
                      "search",
                      "agent"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "query"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "id": {
                    "type": "string"
                  },
                  "query": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "answer": {
                        "type": "string"
                      },
                      "citations": {
                        "items": {
                          "properties": {
                            "snippet": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "title": {
                              "type": [
                                "string",
                                "null"
                              ]
                            },
                            "url": {
                              "type": "string"
                            }
                          },
                          "required": [
                            "url"
                          ],
                          "type": "object"
                        },
                        "type": "array"
                      }
                    },
                    "type": "object"
                  },
                  "status": {
                    "enum": [
                      "pending",
                      "planning",
                      "searching",
                      "processing",
                      "aggregating",
                      "completed",
                      "failed",
                      "cancelled"
                    ],
                    "type": "string"
                  },
                  "x402_payment_status": {
                    "enum": [
                      "verified_unsettled",
                      "settled",
                      "voided",
                      "settlement_failed"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "id",
                  "status",
                  "query"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      },
      "tags": [
        "search",
        "agent-search",
        "decentralized-search",
        "depin-search",
        "crypto-search",
        "agentic-ai",
        "claw",
        "agent-marketplace",
        "agentic-trading"
      ]
    }
  },
  "tags": [
    "bazaar"
  ],
  "sourceHost": "api-onchain.optimai.network",
  "lastUpdated": "2026-08-28T07:51:25.216Z",
  "quality": {
    "calls30d": 2,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-08-28T07:51:24.765Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "api-onchain.optimai.network",
    "manifest_name": "api-onchain.optimai.network",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}