alicerce, s.m. — base sobre a qual tudo mais se apoia

Infra básica de API pra quem constrói no Brasil.

Cinco blocos pequenos que qualquer produto brasileiro acaba precisando, numa API só, com o mesmo formato de resposta e as mesmas regras de autenticação e limite.

alicerce (pt-br) — the foundation everything else stands on

Basic API infrastructure for building in Brazil.

Five small blocks almost every Brazilian product ends up needing, behind one API, with one response format and the same auth and rate-limit rules across all of them.

Em desenvolvimento — endpoints e limites podem mudar sem aviso In active development — endpoints and limits may change without notice

APIs

APIs

SYNC responde na hora, na própria chamada. ASYNC aceita o pedido e roda depois — a resposta é uma confirmação, não o resultado. Cada API documenta isso na sua própria página.

SYNC answers inline, in the same call. ASYNC accepts the request and runs it later — the response is an acknowledgement, not the result. Each API documents this on its own page.

Como usar

How to use it

1crie uma contacreate an account
2troque usuário/senha por um tokenexchange your credentials for a token
3use o token em cada chamadasend the token on every call
# registrar → logar → usar o token# register → log in → use the token
curl -X POST https://api.alicercelabs.com.br/api/v1/user/register \
  -d '{"username":"voce","email":"voce@exemplo.com","password":"..."}'

curl -u voce:senha https://api.alicercelabs.com.br/api/v1/user/login

curl https://api.alicercelabs.com.br/api/v1/cep/01310100 \
  -H "Authorization: Bearer <token>"

Limites por IP, contados por API: 10.000/dia, no máximo 416/hora pra um pico não gastar o dia inteiro de uma vez. Detalhes por endpoint em cada página de API.

Limits are per IP, counted per API: 10,000/day, capped at 416/hour so a burst can't spend the whole day's budget at once. Per-endpoint detail on each API's page.