Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
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. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms.
openapi: 3.2.0
info:
title: PontoFato Me API
version: 5b549f5d
description: 'Point and facts of a place in Brazil. Index: GET /api/.'
servers:
- url: https://pontofato.com
tags:
- name: Me
paths:
/api/me:
get:
operationId: get_api_me
summary: Reads the current global account in this product
description: 'The product SDK also returns profile and administration. administration contains {href} for the platform owner signed in with a passkey, authenticator or recovery code; otherwise null. The server derives this field from the authenticated account. authTime is the sign-in time of a browser session; it is null for an API key or OAuth token.
Returns: {user:{identityId,sessionId,productId,audience,authTime,methods,mfaState}}'
responses:
'200':
description: '{user:{identityId,sessionId,productId,audience,authTime,methods,mfaState}}'
'401':
description: invalid_session
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: auth_unavailable
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
security:
- globalAccount: []
tags:
- Me
components:
schemas:
ProblemDetails:
type: object
description: RFC 9457 Problem Details error response (`application/problem+json`). Includes stable `code` and backward-compatible `error` and `message` fields; route-specific extension fields (such as `accepts`, `allow`, `retry_after`, or `request_id`) may also be present.
required:
- type
- title
- status
- detail
- instance
- code
properties:
type:
type: string
format: uri
description: URI identifying the problem type, linking to `/errors#<code>` on this host.
title:
type: string
description: Short human-readable summary of the problem type.
status:
type: integer
description: HTTP status code generated for this occurrence.
detail:
type: string
description: Human-readable explanation specific to this occurrence.
instance:
type: string
description: Request path where the error occurred (without query parameters).
code:
type: string
description: Stable machine-readable snake_case error code documented at `/errors`.
error:
type: string
description: Backward-compatible alias of `code` (or protocol reason on x402 402 responses).
message:
type: string
description: Backward-compatible alias of `detail`.
additionalProperties: true
securitySchemes:
globalAccount:
type: apiKey
in: cookie
name: __Host-mm-auth
description: Global session in the product's HttpOnly cookie; writes require exact Origin and X-CSRF-Token.
contaChaveApi:
type: http
scheme: bearer
bearerFormat: mmk_…
description: 'Account API key: `Authorization: Bearer mmk_…` or `X-Api-Key: mmk_…`. Created on the account page (API keys), valid only in the product where it was created; it acts as the account (or the organization that owns it).'
carteiraAgente:
type: http
scheme: bearer
bearerFormat: mmw_…
description: 'Wallet credential of an agent without an account (`Authorization: Bearer mmw_…`, 30 days, this product only): POST /api/auth/wallet/agent/start, check that the domain and URI of the message are the host and origin that you called, sign the message with the wallet, POST /api/auth/wallet/agent/token. The owner is `x402:<address>`.'
externalDocs:
url: https://payapi.market/api/pontofato
description: PayAPI Market
x-service-info:
categories:
- geolocation
- addresses
- data
docs:
homepage: https://pontofato.com/
apiReference: https://pontofato.com/developers
llms: https://pontofato.com/llms.txt
errors: https://pontofato.com/errors
status: https://pontofato.com/status
pricing: https://pontofato.com/api/pricing
billing: https://pontofato.com/api/billing