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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/magic-link-users-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
openapi: 3.2.0
info:
title: Magic Admin Client Users API
description: The Magic Admin REST API provides backend integration endpoints for validating Magic-issued DID tokens, retrieving user metadata, and logging users out. These endpoints back the official Magic Admin SDKs (Node, Python, Go, Ruby, Java, PHP) and require the workspace Secret API Key in the `X-Magic-Secret-Key` header. Endpoint paths were derived from the public Magic Admin JS SDK source (magic-admin-js).
version: 1.0.0
contact:
name: Magic
url: https://docs.magic.link/
servers:
- url: https://api.toaster.magic.link
description: Magic Admin API
security:
- SecretKey: []
tags:
- name: Users
description: Magic user metadata and session management
paths:
/v1/admin/user:
get:
tags:
- Users
summary: Get user metadata
description: Retrieve metadata for a Magic user identified by their issuer DID. The optional `wallet_type` query restricts the wallets returned in the response (e.g. `NONE`, `ETH`, `SOLANA`).
operationId: getUserMetadata
parameters:
- name: issuer
in: query
required: true
description: Magic-issued DID (e.g. `did:ethr:0x...`)
schema:
type: string
- name: wallet_type
in: query
required: false
schema:
type: string
enum:
- NONE
- ETH
- SOLANA
- ANY
default: NONE
responses:
'200':
description: User metadata
content:
application/json:
schema:
type: object
properties:
issuer:
type: string
nullable: true
public_address:
type: string
nullable: true
email:
type: string
nullable: true
oauth_provider:
type: string
nullable: true
phone_number:
type: string
nullable: true
username:
type: string
nullable: true
wallets:
type: array
nullable: true
items:
type: object
/v1/admin/user/logout:
post:
tags:
- Users
summary: Logout a user by issuer
description: Invalidates all sessions for the Magic user identified by their issuer DID. The SDK helpers `logoutByPublicAddress` and `logoutByToken` resolve to an issuer and call this endpoint.
operationId: logoutUser
requestBody:
required: true
content:
application/json:
schema:
type: object
required:
- issuer
properties:
issuer:
type: string
description: The user's Magic-issued DID
responses:
'200':
description: User logged out
components:
securitySchemes:
SecretKey:
type: apiKey
in: header
name: X-Magic-Secret-Key
description: Workspace secret API key from the Magic dashboard.