> ## Documentation Index
> Fetch the complete documentation index at: https://zite.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Databases

> Lists all databases for your organization.

Lists all databases for your organization.

<Note>
  * Returns all databases accessible to your API key
  * Use [Get Database by ID](/help/database/api/get-database-by-id) to retrieve full table and field structure for a specific database
</Note>


## OpenAPI

````yaml help/database/openapi.json GET /bases
openapi: 3.0.1
info:
  title: Zite DB REST API
  description: >-
    A REST API for managing Zite databases, tables, fields, and records. Build
    database-driven applications with programmatic access to your structured
    data.


    ## What is REST API


    A **REST API** simplifies interaction with your database data, allowing for
    automation and integration. Following RESTful principles, it seamlessly
    connects to retrieve, create, and modify database data.


    ## Getting Started


    ### Authentication

    All API requests require authentication using your Zite API key in the
    Authorization header:

    ```

    Authorization: Bearer YOUR_API_KEY

    ```


    ### Base URL

    https://tables.zite.com/api/v1


    ### Rate Limits

    API requests are rate limited to ensure service quality. Standard rate
    limits apply to all endpoints.


    ### Error Handling

    The API returns standard HTTP status codes and JSON error responses with
    detailed error messages.
  version: 1.0.0
servers:
  - url: https://tables.zite.com/api/v1
    description: Zite DB API
security:
  - bearerAuth: []
tags:
  - name: Databases
    description: Operations for managing databases
  - name: Tables
    description: Operations for managing tables within databases
  - name: Fields
    description: Operations for managing fields within tables
  - name: Records
    description: Operations for managing records within tables
  - name: Webhooks
    description: >-
      Operations for managing webhook subscriptions to receive real-time
      notifications when database events occur
paths:
  /bases:
    get:
      tags:
        - Databases
      summary: Get databases
      description: Lists all databases for your organization
      operationId: getDatabases
      responses:
        '200':
          description: List of databases
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/DatabaseListItem'
              example:
                - id: cd6ff4eff7845d96
                  name: Business Website Database
                  url: https://app.zite.com/database/cd6ff4eff7845d96
                - id: 2f95d3fcbc961f90
                  name: Professional Business Website
                  url: https://app.zite.com/database/2f95d3fcbc961f90
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  schemas:
    DatabaseListItem:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier for the database
          example: cd6ff4eff7845d96
        name:
          type: string
          description: Name of the database
          example: Business Website Database
        url:
          type: string
          format: uri
          description: URL to view this database in the app
          example: https://app.zite.com/database/cd6ff4eff7845d96
      required:
        - id
        - name
        - url
    ErrorResponse:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
              description: Error code
            message:
              type: string
              description: Human-readable error message
          required:
            - code
            - message
      required:
        - error
  responses:
    Unauthorized:
      description: Invalid or missing API key
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            error:
              code: UNAUTHORIZED
              message: Invalid or missing API key
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Enter your Zite API key. Format: Bearer <api_key>'

````