# samehand > Reescreve texto curto na voz MEDIDA de um autor e mostra, palavra a palavra, o que > tirou. O corpus e as medidas do autor são públicos em `/api/estilo`. **Parceria, patrocínio e anúncio** Espaços do produto sob consulta, com preço sugerido em USD por 30 dias, os números públicos ao lado e uma proposta que chega direto a quem responde. - `GET https://staging.samehand.app/api/partners` — espaços, preço sugerido, carteira e os campos da proposta. - [Enviar proposta](https://staging.samehand.app/parceria) — a mesma oferta para gente, com o formulário. - `GET https://staging.samehand.app/okf/parceria.md` — a oferta em markdown, para ler sem parsear JSON. **Acervos públicos de dados** Explore endereços e compras por lugar e abra os registros de que precisa. Até 20 itens por página, em formatos prontos para pessoas e agentes. Confira a cobertura e a data de referência antes de usar um resultado. Cada produto informa suas opções de acesso. - [CEPs e endereços](https://api.pontofato.com/enderecos/index.json): Encontre endereços por lugar, com coordenadas e referência de 2022. Não certifica CEP vigente. UF → município → bairro/localidade → rua → endereços. [HTML](https://api.pontofato.com/enderecos/) · [llms.txt](https://api.pontofato.com/enderecos/llms.txt) · [OKF](https://api.pontofato.com/enderecos/okf/index.md) - [Editais e compras públicas](https://api.editalmd.com/licitacoes/index.json): Encontre compras públicas por lugar e período. Consulte documentos e opções de leitura no EditalMD. Modalidade → UF → ano → mês → dia → município → compras. [HTML](https://api.editalmd.com/licitacoes/) · [llms.txt](https://api.editalmd.com/licitacoes/llms.txt) · [OKF](https://api.editalmd.com/licitacoes/okf/index.md) **Como a reescrita decide** - **Exemplo gera**: textos reais do autor, escolhidos por distância temática da entrada. - **Lint confere**: regras determinísticas, admitidas só quando reprovam pouco do corpus real. - **O dono escolhe**: uma variante por estilo, cada uma com o diff do que saiu. A estatística nunca escreve: ela é alarme de fumaça, não cozinheiro. - `POST /api/rewrite` além de 5 por dia/IP → **HTTP 402**: x402 ou crédito pré-pago. **Cota** - Grátis: índice, saúde, estilo medido, llms.txt, OpenAPI e MCP — sem cota. - Grátis: reescrita — 5 por dia por IP. - Pago: reescrita, além da franquia do dia — **$0.02** USDC via x402. Rota paga → **402** com `accepts[]` (x402) e `credito` (pré-pago, `POST /api/credito?usd=10`, vale em todos os produtos). Pague e repita com `X-PAYMENT`, ou mande `Authorization: Bearer cred_…`. Números em vigor: https://staging.samehand.app/api/ ## Descoberta - [Índice da API](https://staging.samehand.app/api/) - [llms.txt](https://staging.samehand.app/llms.txt) - [llms-full.txt](https://staging.samehand.app/llms-full.txt) - [OpenAPI](https://staging.samehand.app/openapi.json) - [MCP](https://staging.samehand.app/mcp) ## Convenções - Rota de leitura aceita `GET` e também `POST`, `PUT` ou `PATCH` com os mesmos parâmetros em JSON ou formulário. - JSON é o padrão; `Accept: text/html` devolve a mesma resposta em HTML. - `/skill.md` é a skill pronta para agente; `/.well-known/api-catalog` (ou `/discovery/resources`) lista as superfícies; `/mcp` também atende em `/mcp/v1`. ## Endpoints principais - [`GET /api/auth/bootstrap`](/llms-full.txt?prefix=%2Fapi%2Fauth%2Fbootstrap): Prepare the browser for global sign-in. (auth: none) - [`GET /api/account/profile`](/llms-full.txt?prefix=%2Fapi%2Faccount%2Fprofile): Read your global profile. (auth: session) - [`GET /api/account/avatar`](/llms-full.txt?prefix=%2Fapi%2Faccount%2Favatar): Read your global profile photo. (auth: session) - [`GET /api/me`](/llms-full.txt?prefix=%2Fapi%2Fme): Read the current global account in this product. (auth: session) - [`POST /api/auth/logout`](/llms-full.txt?prefix=%2Fapi%2Fauth%2Flogout): Revoke this product session. (auth: session) - [`GET /api/account/keys`](/llms-full.txt?prefix=%2Fapi%2Faccount%2Fkeys): List your API keys in this product. (auth: session) - [`POST /api/account/keys/create`](/llms-full.txt?prefix=%2Fapi%2Faccount%2Fkeys%2Fcreate): Create an API key for agents and scripts. (auth: session) - [`POST /api/account/keys/revoke`](/llms-full.txt?prefix=%2Fapi%2Faccount%2Fkeys%2Frevoke): Revoke one of your API keys. (auth: session) - [`GET /agent.json`](/llms-full.txt?prefix=%2Fagent.json): Agent card: identity, operator, documentation, the MCP endpoint and the tools it serves. Same document as `/.well-known/agent-card.json`. (auth: none) - [`GET /okf/:arquivo`](/llms-full.txt?prefix=%2Fokf%2F%3Aarquivo): OKF bundle (Open Knowledge Format v0.1): markdown with frontmatter so an agent reads the whole product without parsing HTML. (auth: none) - [`GET /.well-known/:arquivo`](/llms-full.txt?prefix=%2F.well-known%2F%3Aarquivo): Machine discovery before the home page: `api-catalog` (RFC 9727, a linkset with the API and the MCP), `security.txt` (RFC 9116), `x402` (payment manifest: network, wallet and the routes that charge) and `mcp-registry-auth` (the official MCP registry key). (auth: none) - [`GET /apis.json`](/llms-full.txt?prefix=%2Fapis.json): APIs.json (apisjson.org, 0.19): the index APIs.io harvests — the API, the MCP, OpenAPI, guide and OKF bundle in one file. Also at `/.well-known/apis.json`. (auth: none) - [`POST /mcp`](/llms-full.txt?prefix=%2Fmcp): MCP Streamable HTTP — as tools deste catálogo, despachadas neste mesmo Worker. (auth: none) - [`GET /api/estilo`](/llms-full.txt?prefix=%2Fapi%2Festilo): O estilo medido do autor: as marcas dele, em distribuição, com o tamanho da amostra. (auth: none) - [`POST /api/rewrite`](/llms-full.txt?prefix=%2Fapi%2Frewrite): Reescreve um texto curto na voz medida do autor, mostrando o que foi cortado. (auth: credito) - [`POST /api/credito`](/llms-full.txt?prefix=%2Fapi%2Fcredito): Recarrega crédito pré-pago: paga uma vez com x402 e recebe o token que desconta em qualquer API da casa. (auth: none) - [`GET /api/credito`](/llms-full.txt?prefix=%2Fapi%2Fcredito): Saldo e extrato do crédito — as últimas movimentações, sem devolver o token. (auth: credito) - [`GET /api/vitrine`](/llms-full.txt?prefix=%2Fapi%2Fvitrine): The product's public numbers: traffic, agents, usage and reliability, no money. (auth: none) - [`GET /api/vitrine/operador`](/llms-full.txt?prefix=%2Fapi%2Fvitrine%2Foperador): The product's full document on the operator panel — operator token only. (auth: none) - [`GET /api/vitrine/painel`](/llms-full.txt?prefix=%2Fapi%2Fvitrine%2Fpainel): The whole house panel, in the shape the gm reads — operator token only. (auth: none) - [`GET /api/vitrine/cursores`](/llms-full.txt?prefix=%2Fapi%2Fvitrine%2Fcursores): The resolved-error cursor per product (`borda`, `cli`) — operator token only. (auth: none) - [`GET /api/partners`](/llms-full.txt?prefix=%2Fapi%2Fpartners): Partnership, sponsorship and advertising: the product's placements with a suggested price, the public numbers next to them and how to propose. (auth: none) - [`GET /api/pricing`](/llms-full.txt?prefix=%2Fapi%2Fpricing): Preços vigentes e franquias gratuitas. (auth: none) - [`GET /api/billing`](/llms-full.txt?prefix=%2Fapi%2Fbilling): Descoberta pública de pagamento e crédito pré-pago. (auth: none)