Notion API - Public Beta (English)
    Notion API - Public Beta (English)
    • Introduction
    • Integration capabilities
    • Request limits
    • Status codes
    • ENDPOINTS
      • Authentication
        • Authentication
        • Token
      • Blocks
        • Delete a block
        • Append block children
        • Retrieve a block
        • Update a block
        • Retrieve block children
      • Databases
        • Filter database entries
        • Sort database entries
        • Update database properties
        • Retrieve a database
        • Update a database
        • Query a database
      • Pages
        • Archive a page
        • Retrieve a page property item
        • Create a page
        • Retrieve a Page
        • Update Page properties
      • Users
        • List all users
        • Retrieve your token's bot user
        • Retrieve a user
      • Comments
        • Create comment
        • Retrieve comments
      • Search
        • Search optimizations and limitations
        • Search by title
    • OBJECTS
      • Block
      • Comment
      • Unfurl attribute object for Link Previews
      • Page
        • Page
        • Page properties
      • Database
        • Database
        • Database properties
      • User
        • User
        • Comment
      • Other
        • Emoji object
        • File object
        • Parent object
        • Rich text object
    • Versioning
      • Versioning
      • Changes by version
    • ENDPOINTS Copy
      • Authentication
        • Authentication
        • Token
      • Blocks
        • Retrieve a block
        • Update a block
        • Retrieve block children
        • Delete a block
        • Append block children
      • Databases
        • Filter database entries
        • Sort database entries
        • Update database properties
        • Retrieve a database
        • Update a database
        • Query a database
        • Create a database
      • Pages
        • Archive a page
        • Retrieve a Page
        • Update Page properties
        • Retrieve a page property item
        • Create a page
      • Users
        • Retrieve a user
        • List all users
        • Retrieve your token's bot user
      • Comments
        • Create comment
        • Retrieve comments

    Request limits

    To ensure a consistent developer experience for all API users, the Notion API is rate limited and basic size limits apply to request parameters.

    Rate limits#

    Rate-limited requests will return a "rate_limited" error code (HTTP response status 429). The rate limit for incoming requests per integration is an average of three requests per second. Some bursts beyond the average rate are allowed.
    Integrations should accommodate variable rate limits by handling HTTP 429 responses and respecting the Retry-After response header value, which is set as an integer number of seconds (in decimal). Requests made after waiting this minimum amount of time should no longer be rate limited.
    Alternatively, rate limits can be accommodated by backing off (or slowing down) the speed of future requests. A common way to implement this is using one or several queues for pending requests, which can be consumed by sending requests as long as Notion does not respond with an HTTP 429.

    🚧Rate limits may change#

    In the future, Notion plans to adjust rate limits to balance for demand and reliability. Notion may also introduce distinct rate limits for workspaces in different pricing plans.

    Size limits#

    Notion limits the size of certain parameters, and the depth of children in requests. A requests that exceeds any of these limits will return "validation_error" error code (HTTP response status 400) and contain more specific details in the "message" property.
    Integrations should avoid sending requests beyond these limits proactively. It may be helpful to use test data in your own test suite which intentionally contains large parameters to verify that the errors are handled appropriately. For example, if the integration reads a URL from an external system to put into a Notion page property, the integration should have a plan to deal with URLs that are beyond the length limit of 2000 characters. The integration might choose to log the error, or send an alert to the user who set up the integration via an email, or some other action.
    Note that in addition to the property limits below, payloads have a maximum size of 1000 block elements and 500KB overall.

    Limits for property values#

    Property value typeInner propertySize limit
    Rich text objecttext.content2000 characters
    Rich text objecttext.link.url2000 characters
    Rich text objectequation.expression1000 characters
    Any array of rich text objects100 elements
    Any URL2000 characters
    Any email200 characters
    Any phone number200 characters
    Any multi-select100 options
    Any relation100 related pages
    Any people100 users

    📘Request size limits#

    These limits apply to requests sent to Notion's API only. There are different limits on the number of relations and people mentions in responses returned by the API.
    Modified at 2023-04-28 05:58:16
    Previous
    Integration capabilities
    Next
    Status codes
    Built with