Alpaca Country Info API

The Country Info API from Alpaca — 1 operation(s) for country info.

Operations 1

GET /v1/country-info Retrieve countries information #

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-order-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-position-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-option-contract-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-assets-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-create-order-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-trade-account-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-account-extended-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-account-creation-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-trade-update-event-v2-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-ipoevent-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-corporate-action-event-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-movers-resp-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-fixed-income-latest-quotes-resp-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-most-actives-resp-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-fixed-income-latest-prices-resp-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-stock-auctions-resp-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-token-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-token-response-schema.json
📊
JSONSchema
https://artifacts.apis.io/alpaca/json-schema/alpaca-corporate-actions-resp-schema.json

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/alpaca:alpaca-country-info-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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

alpaca-country-info-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  contact:
    email: support@alpaca.markets
    name: Alpaca Support
    url: https://alpaca.markets/support
  description: Open brokerage accounts, enable stock, options and crypto trading. Manage the ongoing user experience and brokerage customer lifecycle with the Alpaca Broker API
  termsOfService: https://s3.amazonaws.com/files.alpaca.markets/disclosures/library/TermsAndConditions.pdf
  title: Broker Country Info API
  version: 1.1.1
servers:
- description: Sandbox endpoint
  url: https://broker-api.sandbox.alpaca.markets
- description: Production endpoint
  url: https://broker-api.alpaca.markets
security:
- BasicAuth: []
tags:
- name: Country Info
paths:
  /v1/country-info:
    get:
      description: The Country Info API serves country information for every supported countries including risk ratings and supported crypto states where applicable.
      operationId: queryCountryInfos
      responses:
        '200':
          content:
            application/json:
              examples:
                countries:
                  summary: Example response
                  value:
                    USA:
                      crypto_risk_rating: medium
                      crypto_supported_states:
                      - CA
                      - CT
                      - GA
                      - IA
                      - ID
                      - IL
                      - IN
                      - KS
                      - KY
                      - MA
                      - MD
                      - ME
                      - MI
                      - MS
                      - MO
                      - MT
                      - NC
                      - ND
                      - NE
                      - OH
                      - RI
                      - SD
                      - UT
                      - VT
                      - WA
                      full_name: United States of America
                      securities_risk_rating: medium
                    ZAF:
                      crypto_risk_rating: high
                      full_name: South Africa
                      securities_risk_rating: high
              schema:
                $ref: '#/components/schemas/CountryInfos'
          description: Returns the countries information as a map
      summary: Retrieve countries information
      tags:
      - Country Info
components:
  schemas:
    CountryInfo:
      description: Represents the info for a country.
      properties:
        crypto_risk_rating:
          description: crypto risk rating of the country
          enum:
          - low
          - medium
          - high
          - restricted
          - prohibited
          type: string
        crypto_supported_states:
          description: states where Alpaca supports crypto trading
          items:
            description: the state code defined by ISO 3166-2
            type: string
          type: array
        full_name:
          description: The full name of the country defined by ISO 3166-1
          example: Åland Islands
          minLength: 1
          type: string
        securities_risk_rating:
          description: the securities risk rating of the country
          enum:
          - low
          - medium
          - high
          - restricted
          - prohibited
          type: string
      required:
      - full_name
      - securities_risk_rating
      - crypto_risk_rating
      title: CountryInfo
      type: object
    CountryInfos:
      additionalProperties:
        $ref: '#/components/schemas/CountryInfo'
      description: Represents the info for countries as a map where the keys are the ISO 3166 country codes.
      title: CountryInfos
      type: object
  securitySchemes:
    BasicAuth:
      scheme: basic
      type: http
x-readme:
  explorer-enabled: true
  proxy-enabled: false