Congress.gov API · Schema

TreatyDetail

GovernmentLegislativeCongressBillsAmendmentsMembersTreatiesNominationsCongressional RecordUS Federal

Properties

Name Type Description
treaty object
View JSON Schema on GitHub

JSON Schema

congress-gov-treatydetail-schema.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://api.congress.gov/schemas/TreatyDetail",
  "title": "TreatyDetail",
  "type": "object",
  "properties": {
    "treaty": {
      "type": "object",
      "properties": {
        "actions": {
          "type": "object",
          "properties": {
            "count": {
              "type": "integer",
              "example": 3
            },
            "url": {
              "type": "string",
              "format": "url",
              "example": "https://api.congress.gov/v3/treaty/89/7/actions?format=json"
            }
          }
        },
        "congressConsidered": {
          "type": "integer",
          "example": 89
        },
        "congressReceived": {
          "type": "integer",
          "example": 89
        },
        "countriesParties": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "example": "Belgium"
              }
            }
          }
        },
        "inForceDate": {
          "type": "string",
          "example": ""
        },
        "indexTerms": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "name": {
                "type": "string",
                "example": "ENGLISH"
              }
            }
          }
        },
        "number": {
          "type": "integer",
          "example": 7
        },
        "oldNumber": {
          "type": "string",
          "example": "G. 89-1"
        },
        "oldNumberDisplayName": {
          "type": "string",
          "example": "Ex. G, 89th Congress, 1st Session"
        },
        "parts": {
          "type": "object"
        },
        "relatedDocs": {
          "type": "array"
        },
        "resolutionText": {
          "type": "string",
          "example": ""
        },
        "suffix": {
          "type": "string",
          "example": ""
        },
        "titles": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "title": {
                "type": "string",
                "example": "PROTOCOL MODIFYING CONVENTION WITH BELGIUM FOR THE AVOIDANCE OF DOUBLE TAXATION"
              },
              "titleType": {
                "type": "string",
                "example": "Treaty - Short Title"
              }
            }
          }
        },
        "topic": {
          "type": "string",
          "example": "Taxation"
        },
        "transmitted": {
          "type": "string",
          "format": "date-time",
          "example": "1965-08-05T00:00:00Z"
        },
        "updateDate": {
          "type": "string",
          "format": "date-time",
          "example": "2022-02-26T16:25:25Z"
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/congress-gov-treatydetail"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.