---
agentTools:
  projectIndex: https://geniidata.readme.io/llms.txt
---

# Get SNS Name by Namespace

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Geniidata API Endpoints",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://api.geniidata.com"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "apiKey",
        "in": "header",
        "x-default": "142cf1b0-1ca7-11ee-bb5e-9d74c2e854ac",
        "name": "api-key"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/api/1/sns/namespace/{namespace}/names": {
      "get": {
        "summary": "Get SNS Name by Namespace",
        "description": "",
        "operationId": "get-sns-name-by-namespace",
        "parameters": [
          {
            "name": "namespace",
            "in": "path",
            "schema": {
              "type": "string",
              "default": "sats"
            },
            "required": true
          },
          {
            "name": "limit",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 20
            }
          },
          {
            "name": "offset",
            "in": "query",
            "schema": {
              "type": "integer",
              "format": "int32",
              "default": 0
            }
          },
          {
            "name": "relay",
            "in": "query",
            "description": "\"true\" for has relay, \"false\" for not,\"all\" for no filtering",
            "schema": {
              "type": "string",
              "default": "all"
            }
          },
          {
            "name": "rev",
            "in": "query",
            "description": "\"true\" for has rev, \"false\" for not,\"all\" for no filtering",
            "schema": {
              "type": "string",
              "default": "all"
            }
          },
          {
            "name": "avatar",
            "in": "query",
            "description": "\"true\" for has avatar, \"false\" for not,\"all\" for no filtering",
            "schema": {
              "type": "string",
              "default": "all"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"code\": 0,\n  \"message\": \"success\",\n  \"data\": {\n    \"count\": 431309,\n    \"limit\": \"20\",\n    \"offset\": \"0\",\n    \"list\": [\n      {\n        \"holder\": \"bc1p68thrsakrzgkc4dk8545q8fsv0lnmmkca8tyzpdc59chp42s9xds4kgl9l\",\n        \"name\": \"hank.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677030750,\n        \"block_height\": 777735,\n        \"method\": \"simple\",\n        \"inscription_id\": \"f22bde7fb96577306ebe0bf9cc680e9818d702331ce3ff226a225443e4676e4ci0\",\n        \"inscription_number\": 159710,\n        \"name_escaped\": \"hank.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pdd7x32lqvnqxyz7uehg2syzxf5fargeppp56ffpauadwytg4sudq9pft89\",\n        \"name\": \"patrick.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677031280,\n        \"block_height\": 777736,\n        \"method\": \"simple\",\n        \"inscription_id\": \"891a020c4782b2917209e9008c3487ea8602e1f58b38c6afc79af9f5f0f7900ci0\",\n        \"inscription_number\": 159754,\n        \"name_escaped\": \"patrick.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pmtp4qg0h9qvvvssx90t2fmhqyk45lgsxswm52l39s9t4xyy92easdnmvwr\",\n        \"name\": \"ryan.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677088306,\n        \"block_height\": 777824,\n        \"method\": \"simple\",\n        \"inscription_id\": \"bce3b208091ae500b521a0d83bf69160e0d1feaabbe41e0bfebfebd336b49e2di0\",\n        \"inscription_number\": 162135,\n        \"name_escaped\": \"ryan.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pmtp4qg0h9qvvvssx90t2fmhqyk45lgsxswm52l39s9t4xyy92easdnmvwr\",\n        \"name\": \"satoshi.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677088306,\n        \"block_height\": 777824,\n        \"method\": \"simple\",\n        \"inscription_id\": \"04a53ecaf63216850635efe16e6efbc8813dce60fac2af642a66c9d46d2a1972i0\",\n        \"inscription_number\": 162136,\n        \"name_escaped\": \"satoshi.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pmtp4qg0h9qvvvssx90t2fmhqyk45lgsxswm52l39s9t4xyy92easdnmvwr\",\n        \"name\": \"helloworld.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677103701,\n        \"block_height\": 777847,\n        \"method\": \"advanced\",\n        \"inscription_id\": \"3493e9e997cf3e3c48bb6c92cd5aebec7ced6b0fa95af5960c4282e379f8cdd8i0\",\n        \"inscription_number\": 162759,\n        \"name_escaped\": \"helloworld.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pmtp4qg0h9qvvvssx90t2fmhqyk45lgsxswm52l39s9t4xyy92easdnmvwr\",\n        \"name\": \"names.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677104546,\n        \"block_height\": 777849,\n        \"method\": \"simple\",\n        \"inscription_id\": \"2277f43d85ee3782aa6577b1d306f910d7a4234f3fcbbaf2365e15ad44da3596i0\",\n        \"inscription_number\": 162787,\n        \"name_escaped\": \"names.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pve8wxqh58apzv2y5g8dpe2743dxu56sy9suzjq8dhs5spuehkm5shf9yzx\",\n        \"name\": \"aaron.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677200438,\n        \"block_height\": 778043,\n        \"method\": \"simple\",\n        \"inscription_id\": \"74b333539e1bf4f67ad494abd06eb87e78c065b635d261aff17f20073500ea02i0\",\n        \"inscription_number\": 167978,\n        \"name_escaped\": \"aaron.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1pve8wxqh58apzv2y5g8dpe2743dxu56sy9suzjq8dhs5spuehkm5shf9yzx\",\n        \"name\": \"*️⃣.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677200438,\n        \"block_height\": 778043,\n        \"method\": \"simple\",\n        \"inscription_id\": \"6a6fede10c8f393dc105d9a774a8f7406b6492bb98195a6458ab3d2b33374171i0\",\n        \"inscription_number\": 167979,\n        \"name_escaped\": \"*{\\\\ufe0f}⃣.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"amy.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"e37b30ff3e31039ebd25e5366f76fd1ccaaba2ce5f67669abf79cd8cbb80c40ci0\",\n        \"inscription_number\": 168088,\n        \"name_escaped\": \"amy.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"beverly.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"2a8b1364c512e134d30cdd96f9fccd383904b24c95ec4f6258da0194dfee6610i0\",\n        \"inscription_number\": 168089,\n        \"name_escaped\": \"beverly.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1ppjf74ja5g9xe204kyk3huqe34y2j4smajzl9yjwzxh90hfzuwzlqnpphdh\",\n        \"name\": \"austin.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"64590551d3f07b70be2d1dd7411c9f72e38fe9927167a72d081fb2242d434c1ei0\",\n        \"inscription_number\": 168090,\n        \"name_escaped\": \"austin.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1ppjf74ja5g9xe204kyk3huqe34y2j4smajzl9yjwzxh90hfzuwzlqnpphdh\",\n        \"name\": \"andrea.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"51c57d54ee7cef59e27df03bec61b3ec6e4d245cb7abee4571491f53a1892b2ci0\",\n        \"inscription_number\": 168091,\n        \"name_escaped\": \"andrea.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"amber.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"757db1e2f73c5c9f1bec18ca30e5f1387ae33d89ad9903cf3fccd3bc22fffc2ci0\",\n        \"inscription_number\": 168092,\n        \"name_escaped\": \"amber.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"anna.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"c2d39bedd9a806b6b4092c607c365be3b9d88615e6ac7872907cee21b6a97a32i0\",\n        \"inscription_number\": 168093,\n        \"name_escaped\": \"anna.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"ann.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"aa5bc4af9b406a5c111e5ee88c74798dcc2f2b7d340a98ffb6d0e423b633173ai0\",\n        \"inscription_number\": 168094,\n        \"name_escaped\": \"ann.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"aja.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"f9bc4db367d1991295cf6fcb46198fc9f78474657e8f00ddc512b3503f035043i0\",\n        \"inscription_number\": 168095,\n        \"name_escaped\": \"aja.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1ppjf74ja5g9xe204kyk3huqe34y2j4smajzl9yjwzxh90hfzuwzlqnpphdh\",\n        \"name\": \"alan.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"c5948967f9ef113f1d9f4138f968466714b1d08a2aadad395bcd0d8feae9b947i0\",\n        \"inscription_number\": 168096,\n        \"name_escaped\": \"alan.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1ppjf74ja5g9xe204kyk3huqe34y2j4smajzl9yjwzxh90hfzuwzlqnpphdh\",\n        \"name\": \"abigail.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"1fcdbccc2195105b50a4623b2738cf26b759ded36b361edab6932a6499e21049i0\",\n        \"inscription_number\": 168097,\n        \"name_escaped\": \"abigail.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1ppjf74ja5g9xe204kyk3huqe34y2j4smajzl9yjwzxh90hfzuwzlqnpphdh\",\n        \"name\": \"barbara.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"6da4d9de2b95dc33f30f11626d8322b6b67921235c79c96dd1835e66fc974f4ai0\",\n        \"inscription_number\": 168098,\n        \"name_escaped\": \"barbara.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      },\n      {\n        \"holder\": \"bc1p24xuya665snd2ywumywrnnv00vttq9xm8lysc90vdd74pn6uya7qcu93hs\",\n        \"name\": \"ash.sats\",\n        \"namespace\": \"sats\",\n        \"block_time\": 1677201073,\n        \"block_height\": 778044,\n        \"method\": \"simple\",\n        \"inscription_id\": \"08b4374200e8bbe16b0792e567e1cd815e68cf102fb0d124ece95bc127128b4ai0\",\n        \"inscription_number\": 168099,\n        \"name_escaped\": \"ash.sats\",\n        \"avatar\": \"\",\n        \"rev\": \"\",\n        \"relay\": \"\"\n      }\n    ]\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "code": {
                      "type": "integer",
                      "example": 0,
                      "default": 0
                    },
                    "message": {
                      "type": "string",
                      "example": "success"
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "count": {
                          "type": "integer",
                          "example": 431309,
                          "default": 0
                        },
                        "limit": {
                          "type": "string",
                          "example": "20"
                        },
                        "offset": {
                          "type": "string",
                          "example": "0"
                        },
                        "list": {
                          "type": "array",
                          "items": {
                            "type": "object",
                            "properties": {
                              "holder": {
                                "type": "string",
                                "example": "bc1p68thrsakrzgkc4dk8545q8fsv0lnmmkca8tyzpdc59chp42s9xds4kgl9l"
                              },
                              "name": {
                                "type": "string",
                                "example": "hank.sats"
                              },
                              "namespace": {
                                "type": "string",
                                "example": "sats"
                              },
                              "block_time": {
                                "type": "integer",
                                "example": 1677030750,
                                "default": 0
                              },
                              "block_height": {
                                "type": "integer",
                                "example": 777735,
                                "default": 0
                              },
                              "method": {
                                "type": "string",
                                "example": "simple"
                              },
                              "inscription_id": {
                                "type": "string",
                                "example": "f22bde7fb96577306ebe0bf9cc680e9818d702331ce3ff226a225443e4676e4ci0"
                              },
                              "inscription_number": {
                                "type": "integer",
                                "example": 159710,
                                "default": 0
                              },
                              "name_escaped": {
                                "type": "string",
                                "example": "hank.sats"
                              },
                              "avatar": {
                                "type": "string",
                                "example": ""
                              },
                              "rev": {
                                "type": "string",
                                "example": ""
                              },
                              "relay": {
                                "type": "string",
                                "example": ""
                              }
                            }
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "400",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {}
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "64a6b5dfcf256b08a6c37d8a:64c77deaa2f8ec002c6086e3"
}
```