***

title: MetaMask Wrapper APIs
subtitle: Custom Wrapper API's for Metamask Buy and Sell Flows
---------------------

For a complete page index, fetch https://docs.transak.com/llms.txt

Metamask Wrapper API's are built on top of existing Transak APIs to enable Metamask for the custom integration of ON/OFF Ramp in the Metamask Portfolio Dapp and Mobile App\
Wrapper APIs are developed as per Metamask's Documentation and API specs

## Objective

Enable Transak in Buy/Sell section of Metamask, which require changes in Backend.

## Endpoints

| Environment    | Base URL                                                     |
| -------------- | ------------------------------------------------------------ |
| Pre-Production | [https://api-beta.transak.com](https://api-beta.transak.com) |
| Production     | [https://api.transak.com](https://api.transak.com)           |

## Quick Navigation

* [Buy Order by ID](/api/metamask-wrapper-api/buy-order-by-id)
* [Sell Order by ID](/api/metamask-wrapper-api/sell-order-by-id)
* [Buy Orders](/api/metamask-wrapper-api/buy-orders)
* [Sell Orders](/api/metamask-wrapper-api/sell-orders)
* [Buy Widget](/api/metamask-wrapper-api/buy-widget)
* [Sell Widget](/api/metamask-wrapper-api/sell-widget)
* [Buy Quote](/api/metamask-wrapper-api/buy-quote)
* [Sell Quote](/api/metamask-wrapper-api/sell-quote)
* [Buy Configuration](/api/metamask-wrapper-api/buy-configuration)
* [Sell Configuration](/api/metamask-wrapper-api/sell-configuration)

## API Flow:

<Frame>
  <img src="https://files.buildwithfern.com/visual-editor-images/docs.transak.com/2026-03-25T10:04:33.569Z/api/metamask-wrapper-api/end-points/mm.png" alt="mm" title="mm" noZoom={false} />
</Frame>