PontoFato Funil API
The Funil API from PontoFato — 3 operation(s) for funil.
The Funil API from PontoFato — 3 operation(s) for funil.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/pontofato:pontofato-funil-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: PontoFato Funil API
version: 5b549f5d
description: 'Point and facts of a place in Brazil. Index: GET /api/.'
servers:
- url: https://pontofato.com
tags:
- name: Funil
paths:
/api/funil:
post:
operationId: post_api_funil
summary: The interface reports the steps of the visit (conversion funnel).
description: 'A same-origin batch, sent by the page itself: page views, engagement, offer in view, click on buy, payment window, payment sent or accepted. It keeps the random browser ID, the path without query, the host that referred the person and the utm values; never the IP, e-mail or account. It does not write to a database: one line per batch in the daily log, with a cap. Declared robots and smoke tests are left out.
Returns: 202 with no body when stored (`X-MM-Funil-Ack: stored`); 204 when ignored (`X-MM-Funil-Ack: ignored`); 429 when the brake asks for the next window (`X-MM-Funil-Ack: retry`, `Retry-After`); 503 when persistence asks for a retry (`X-MM-Funil-Ack: retry`, `Retry-After: 60`). Always no-store.'
parameters:
- name: Origin
in: header
required: false
schema:
type: string
description: The page origin, identical to the origin of this route.
- name: Content-Type
in: header
required: true
schema:
type: string
description: '`application/json` or `text/plain`.'
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
v:
type: number
description: 'Batch version: `1`.'
vid:
type: string
description: Random ID of this browser (UUID v4).
sid:
type: string
description: Session ID (30 min without activity ends it).
sn:
type: number
description: Session number of this browser.
pv:
type: string
description: ID of the page view.
e:
type: array
items:
type: object
description: Up to 40 events `{ t, n, p? }` from the funnel vocabulary.
required:
- v
- vid
- sid
- sn
- pv
- e
responses:
'202':
description: '202 with no body when stored (`X-MM-Funil-Ack: stored`); 204 when ignored (`X-MM-Funil-Ack: ignored`); 429 when the brake asks for the next window (`X-MM-Funil-Ack: retry`, `Retry-After`); 503 when persistence asks for a retry (`X-MM-Funil-Ack: retry`, `Retry-After: 60`). Always no-store.'
tags:
- Funil
/api/funil/arquivos:
get:
operationId: get_api_funil_arquivos
summary: 'Operator: the days of the funnel log stored in this app, with the size of each…'
description: 'Returns: { v, produto, teto, dias }'
parameters:
- name: Authorization
in: header
required: true
schema:
type: string
description: '`Bearer <METRICS_TOKEN>`.'
responses:
'200':
description: '{ v, produto, teto, dias }'
content:
application/json:
schema:
type: object
properties:
v:
type: number
description: Version of the stored batch.
produto:
type: string
description: O produto.
teto:
type: object
description: Retention in `dias`; `bytesDia` is null when the journal accepts the full day.
dias:
type: array
items:
type: object
description: '`{ dia, bytes }`, from the oldest to today.'
required:
- v
- produto
- teto
- dias
'401':
description: Unauthorized
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: Not configured
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Funil
/api/funil/arquivo:
get:
operationId: get_api_funil_arquivo
summary: 'Operator: a part of one day of the funnel log, in NDJSON, from a given byte'
description: 'Up to 4 MiB per response, cut at the last complete line. `X-MM-Funil-Proximo` tells where to request the rest from; `X-MM-Funil-Tamanho`, the current size of the day.
Returns: JSON lines, one per stored batch.'
parameters:
- name: dia
in: query
required: true
schema:
type: string
description: O dia, `AAAA-MM-DD` (UTC).
- name: desde
in: query
required: false
schema:
type: number
description: The byte to read from; `0` at the start.
- name: Authorization
in: header
required: true
schema:
type: string
description: '`Bearer <METRICS_TOKEN>`.'
responses:
'200':
description: JSON lines, one per stored batch.
'400':
description: Invalid parameters
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'401':
description: Unauthorized
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
'503':
description: Not configured
content:
application/problem+json:
schema:
$ref: '#/components/schemas/ProblemDetails'
tags:
- Funil
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