Architect of the Capitol Buildings API

The Buildings API from Architect of the Capitol — 2 operation(s) for buildings.

Operations 2

GET /buildings List Capitol campus buildings #
GET /buildings/{buildingId} Get building details #

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/architect-of-the-capitol-buildings-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

architect-of-the-capitol-buildings-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Architect of the Capitol Data Accessibility Buildings API
  description: API providing access to public information about Capitol campus buildings, art collections, historic preservation projects, and congressional facilities.
  version: 1.0.0
  contact:
    name: Architect of the Capitol
    url: https://www.aoc.gov/
servers:
- url: https://api.aoc.gov/v1
  description: Production
tags:
- name: Buildings
paths:
  /buildings:
    get:
      summary: List Capitol campus buildings
      operationId: listBuildings
      tags:
      - Buildings
      parameters:
      - name: type
        in: query
        schema:
          type: string
          enum:
          - capitol
          - house-office
          - senate-office
          - library-of-congress
          - supreme-court
          - other
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
      - name: offset
        in: query
        schema:
          type: integer
          default: 0
      responses:
        '200':
          description: List of buildings
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/BuildingList'
  /buildings/{buildingId}:
    get:
      summary: Get building details
      operationId: getBuilding
      tags:
      - Buildings
      parameters:
      - name: buildingId
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Building details
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Building'
        '404':
          description: Building not found
components:
  schemas:
    Building:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        type:
          type: string
        yearBuilt:
          type: integer
        architect:
          type: string
        description:
          type: string
        address:
          type: string
        squareFootage:
          type: integer
        floors:
          type: integer
        historicDesignation:
          type: string
        visitingHours:
          type: string
        coordinates:
          $ref: '#/components/schemas/Coordinates'
    Coordinates:
      type: object
      properties:
        latitude:
          type: number
        longitude:
          type: number
    BuildingList:
      type: object
      properties:
        total:
          type: integer
        offset:
          type: integer
        limit:
          type: integer
        buildings:
          type: array
          items:
            $ref: '#/components/schemas/Building'