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

# Overview

> API reference for the MoonPay widget integration.

The MoonPay widget integration is powered by two APIs:

* **Ramps**: buy and sell quotes; transaction lookups; supported
  countries, currencies, and payment methods.
* **Virtual Accounts**: programmatic on-ramp and off-ramp via virtual
  bank accounts, plus the associated transaction history.

<CardGroup cols={2}>
  <Card title="On-ramp" icon="arrow-right-arrow-left" href="/api-reference/widget/getbuyquote">
    Buy quotes, currency limits, network fees, and transaction lookups.
  </Card>

  <Card title="Off-ramp" icon="arrow-down-from-arc" href="/api-reference/widget/getsellquote">
    Sell quotes and sell transaction lookups.
  </Card>

  <Card title="Data" icon="database" href="/api-reference/widget/getcountries">
    Supported countries, currencies, payment methods, and IP-address checks.
  </Card>

  <Card title="DeFi tokens" icon="coins" href="/api-reference/widget/getdefitoken">
    Token data and token lists for DeFi assets.
  </Card>

  <Card title="Virtual Accounts" icon="building-columns" href="/api-reference/widget/getvirtualaccounts">
    Programmatic on-ramp and off-ramp via virtual bank accounts.
  </Card>

  <Card title="Webhooks" icon="bell" href="/api-reference/widget/webhooks/overview">
    Receive asynchronous notifications when transaction status changes.
  </Card>
</CardGroup>

## Authentication and base URL

See [Using the API](/api-reference/widget/using-the-api) for the base URL, API
key types, and which endpoints use which authentication scheme.

## Errors

Errors return a JSON body with a stable `moonPayErrorCode`. See
[Errors](/api-reference/widget/errors) for the response shape and code catalog.
