---
agentTools:
  projectIndex: https://notice-api.readme.io/llms.txt
---

# Get a block

You can get any block data (and its children) under the JSON format using this endpoint. For example, you can use this to make your own custom view and use Notice as a headless CMS.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "Notice API - Block Distribution Network",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://bdn.notice.studio"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/published-blocks/{blockId}": {
      "get": {
        "summary": "Get a block",
        "description": "You can get any block data (and its children) under the JSON format using this endpoint. For example, you can use this to make your own custom view and use Notice as a headless CMS.",
        "operationId": "search-copy",
        "parameters": [
          {
            "name": "blockId",
            "in": "path",
            "description": "Project ID",
            "schema": {
              "type": "string",
              "default": "c921f2bb-6712-4170-8c1c-cfdc6d9f2a1b"
            },
            "required": true
          },
          {
            "name": "lang",
            "in": "query",
            "description": "Specify request language.",
            "schema": {
              "type": "string",
              "default": "en"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": ""
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true,
  "_id": "638099d7f216dc057342a604:652560243d3dee13dd104025"
}
```