Amazon Athena Databases API

Operations for listing databases in a data catalog

Operations 2

POST /?Action=ListDatabases Amazon Athena List Databases #
POST /?Action=GetDatabase Amazon Athena Get Database #

Specifications

Schemas & Data

Other Resources

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/amazon-athena-databases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

amazon-athena-databases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Amazon Athena Data Catalogs Databases API
  description: Amazon Athena is an interactive query service that makes it easy to analyze data in Amazon S3 using standard SQL. Athena is serverless, so there is no infrastructure to manage, and you pay only for the queries that you run.
  version: '2017-05-18'
  contact:
    name: AWS Support
    url: https://aws.amazon.com/premiumsupport/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
servers:
- url: https://athena.us-east-1.amazonaws.com
  description: Amazon Athena API endpoint
security:
- sigv4: []
tags:
- name: Databases
  description: Operations for listing databases in a data catalog
paths:
  /?Action=ListDatabases:
    post:
      operationId: listDatabases
      summary: Amazon Athena List Databases
      description: Lists the databases in the specified data catalog.
      tags:
      - Databases
      x-microcks-operation:
        delay: 100
        dispatcher: QUERY_MATCH
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ListDatabasesInput'
            examples:
              default:
                x-microcks-default: true
                value:
                  CatalogName: AwsDataCatalog
                  MaxResults: 10
      responses:
        '200':
          description: Databases listed successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListDatabasesOutput'
              examples:
                default:
                  x-microcks-default: true
                  value:
                    DatabaseList:
                    - Name: my_database
                      Description: Production database
                    NextToken: ''
  /?Action=GetDatabase:
    post:
      operationId: getDatabase
      summary: Amazon Athena Get Database
      description: Returns a database object for the specified database and data catalog.
      tags:
      - Databases
      x-microcks-operation:
        delay: 100
        dispatcher: QUERY_MATCH
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/GetDatabaseInput'
            examples:
              default:
                x-microcks-default: true
                value:
                  CatalogName: AwsDataCatalog
                  DatabaseName: my_database
      responses:
        '200':
          description: Database retrieved successfully
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetDatabaseOutput'
              examples:
                default:
                  x-microcks-default: true
                  value:
                    Database:
                      Name: my_database
                      Description: Production database
                      Parameters:
                        classification: parquet
components:
  schemas:
    GetDatabaseOutput:
      type: object
      properties:
        Database:
          $ref: '#/components/schemas/Database'
    GetDatabaseInput:
      type: object
      required:
      - CatalogName
      - DatabaseName
      properties:
        CatalogName:
          type: string
        DatabaseName:
          type: string
    ListDatabasesOutput:
      type: object
      properties:
        DatabaseList:
          type: array
          items:
            $ref: '#/components/schemas/Database'
        NextToken:
          type: string
    ListDatabasesInput:
      type: object
      required:
      - CatalogName
      properties:
        CatalogName:
          type: string
        NextToken:
          type: string
        MaxResults:
          type: integer
    Database:
      type: object
      properties:
        Name:
          type: string
        Description:
          type: string
        Parameters:
          type: object
          additionalProperties:
            type: string
  securitySchemes:
    sigv4:
      type: apiKey
      name: Authorization
      in: header
      description: AWS Signature Version 4