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

# Contracts API

> Deploy and interact with smart contracts using Circle's managed infrastructure, including event monitoring and contract templates.

Smart Contract Platform lets you ship onchain logic without writing deploy
scripts, running your own indexer, or building tooling around contract calls.

## Get started

<CardGroup cols={2}>
  <Card title="API keys" icon="key" href="/api-reference/keys">
    Authenticate your requests with an API key.
  </Card>

  <Card title="Postman collection" icon="rocket" href="/api-reference/contracts/postman">
    Try the Contracts API with Circle's Postman collection.
  </Card>

  <Card title="Webhooks" icon="bell" href="/api-reference/contracts/common/get-subscriptions">
    Set up webhook subscriptions for contract events.
  </Card>
</CardGroup>

## Endpoint categories

<CardGroup cols={2}>
  <Card title="Templates" icon="file-code" href="/api-reference/contracts/smart-contract-platform/estimate-contract-template-deploy">
    Deploy ERC-20, ERC-721, and ERC-1155 contracts from prebuilt templates.
  </Card>

  <Card title="Deploy / Import" icon="upload" href="/api-reference/contracts/smart-contract-platform/import-contract">
    Deploy custom bytecode or import existing contracts.
  </Card>

  <Card title="View / Update" icon="list" href="/api-reference/contracts/smart-contract-platform/list-contracts">
    List, retrieve, and update managed contracts.
  </Card>

  <Card title="Interact" icon="bolt" href="/api-reference/contracts/smart-contract-platform/query-contract">
    Query contract state and submit transactions.
  </Card>

  <Card title="Event Monitors" icon="radar" href="/api-reference/contracts/smart-contract-platform/get-event-monitors">
    Subscribe to onchain events and read event logs.
  </Card>
</CardGroup>

## OpenAPI specifications

The Contracts API reference is generated from these OpenAPI specifications:

* `https://developers.circle.com/openapi/configurations_2.yaml`
* `https://developers.circle.com/openapi/smart-contract-platform.yaml`

See [OpenAPI Specifications](/api-reference/openapi-specifications) for the full
catalog of Circle's API specs.
