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 Visit API
version: 5b549f5d
description: 'Point and facts of a place in Brazil. Index: GET /api/.'
servers:
- url: https://pontofato.com
tags:
- name: Visit
paths:
/api/visit:
post:
operationId: post_api_visit
summary: The screen notice that adds a visit to the day. Agents do not need to call it
description: 'The screen sends the notice at the user''s first gesture (tap, key or click), once per page. Tests do not count: `X-MM-Smoke`, User-Agent `mm-smoke` or `smoke: true` in the body come back with `counted: false`. Only the page''s own notice counts: a call from outside a page of the same site (robot User-Agent, or without `Sec-Fetch-Site: same-origin`) comes back with `counted: false` and `reason: "robo"`.
Returns: { ok, counted, reason? }'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
p:
type: string
description: The path of the visited page.
smoke:
type: boolean
description: '`true` marks the request as a test, and it is not counted.'
example:
p: /
responses:
'200':
description: '{ ok, counted, reason? }'
content:
application/json:
schema:
type: object
properties:
ok:
type: boolean
description: Always `true`.
counted:
type: boolean
description: Whether the visit entered the day's count.
reason:
type: string
description: Why it did not count, when `counted` is `false`.
required:
- ok
- counted
tags:
- Visit
components:
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