{
  "openapi": "3.1.0",
  "info": {
    "title": "With Silex Permanent HTTP 402 Data Encyclopedia API",
    "version": "1.6.2",
    "description": "Search 48 autonomous real-time government, scientific, and market subdomains by hyper-specific keyword and unlock single snapshots or whole-keyword JSONL bundles via Nano (XNO)."
  },
  "servers": [
    {
      "url": "https://withsilex.com"
    }
  ],
  "paths": {
    "/api/x402/search": {
      "get": {
        "operationId": "searchEncyclopediaPaywalls",
        "summary": "Hyper-specific full-text & field-scoped keyword search",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "handle",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sector",
            "in": "query",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Matched paywalls, key:value proofs, facets, and 25%-off topicPack quote"
          }
        }
      }
    },
    "/api/x402/suggest": {
      "get": {
        "operationId": "suggestHyperEntities",
        "summary": "Instant entity, ticker, CVE, ICAO, and JSON schema field autocomplete",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Entity & field suggestions"
          }
        }
      }
    },
    "/topics/{slug}": {
      "get": {
        "operationId": "getOrUnlockKeywordTopicPack",
        "summary": "Inspect HTTP 402 quote or submit X-Payment 64-hex Nano hash to stream full keyword JSONL bundle",
        "parameters": [
          {
            "name": "slug",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "X-Payment",
            "in": "header",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Unlocked JSONL dataset bundle"
          },
          "402": {
            "description": "HTTP 402 Payment Required challenge"
          }
        }
      }
    }
  }
}