{
  "opencollection": "1.0.0",
  "info": {
    "name": "Farcaster Hub REST Casts Usernames API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "x-airstack-hubs",
      "value": "{{x-airstack-hubs}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Usernames",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a list of proofs provided by an FID",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://hubs.airstack.xyz/v1/userNameProofsByFid",
            "params": [
              {
                "name": "fid",
                "value": "",
                "type": "query",
                "description": "The FID being requested"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-airstack-hubs",
              "value": "{{x-airstack-hubs}}",
              "placement": "header"
            }
          },
          "docs": "Get a list of proofs provided by an FID"
        },
        {
          "info": {
            "name": "Get an proof for a username by the Farcaster username",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://hubs.airstack.xyz/v1/userNameProofByName",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The Farcaster username or ENS address"
              }
            ],
            "auth": {
              "type": "apikey",
              "key": "x-airstack-hubs",
              "value": "{{x-airstack-hubs}}",
              "placement": "header"
            }
          },
          "docs": "Get an proof for a username by the Farcaster username"
        }
      ]
    }
  ],
  "bundled": true
}