MetaMask API

MetaMask API as documented publicly: 1 operations. Contract generated from the documentation by API Evangelist (2026-10-13); not the provider's own document.

Operations 1

POST /api/token POST /api/token #

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/metamask:metamask-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

metamask-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: MetaMask API
  version: '2026-10-13'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-13: 1 operation(s) read from 3 public documentation page(s) (each operation
    names its page in x-source). This is not the provider''s published contract; MetaMask has published no machine-readable contract that the
    pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 1
    documentation: 0
    pages-with-code: 3
    pages-read: 3
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-10-13'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://docs.metamask.io/embedded-wallets/sdk/react/advanced/custom-authentication
  - https://docs.metamask.io/embedded-wallets/sdk/vue/advanced/custom-authentication
  - https://docs.metamask.io/embedded-wallets/sdk/js/advanced/custom-authentication
paths:
  /api/token:
    post:
      operationId: post_api_token
      tags:
      - Api
      summary: POST /api/token
      x-source: https://docs.metamask.io/embedded-wallets/sdk/react/advanced/custom-authentication
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: javascript
        snippet: 'fetch ( ''http://localhost:8080/api/token'' , { method : ''POST'' , headers : { ''Content-Type'' : ''application/json'' , }
          , } )'
tags:
- name: Api