alicerce, s.m.: base sobre a qual tudo mais se apoia
Infra básica de API pra quem constrói no Brasil.
APIs simples para recursos que todo produto brasileiro acaba precisando. As de consulta respondem sem conta nenhuma; o resto usa uma autenticação, um formato de resposta e uma plataforma só.
alicerce (pt-br): the foundation everything else stands on
Basic API infrastructure for building in Brazil.
Simple APIs for the things almost every Brazilian product ends up needing. The lookup ones answer with no account at all; everything else shares one authentication, one response format, one platform.
curl https://api.alicercelabs.com.br/api/v1/cep/01310100
{
"success": true,
"data": {
"cep": "01310100",
"logradouro": "Avenida Paulista",
"bairro": "Bela Vista",
"municipio": "São Paulo",
"uf": "SP"
},
"meta": { "elapsed_ms": 3 }
}
APIs
APIs
Dados e Brasil
Data & Brazil
Financeiro
Finance
Infraestrutura
Infrastructure
Storage e Compute
Storage & Compute
Ferramentas
Tools
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
# as APIs de consulta (IP, CEP, DNS, email, SSL, confiabilidade, mapas,
# QR code, imagem, fatura) respondem sem token nenhum# the lookup APIs (IP, CEP, DNS, email, SSL, trust, maps,
# QR code, image, invoice) answer with no token at all
curl https://api.alicercelabs.com.br/api/v1/ip/8.8.8.8
# quer uma cota maior, ou as APIs que guardam dado seu (chave-valor, fila,
# banco edge, funções, cron, uptime)? cadastre em app.alicercelabs.com.br,
# gere uma API key no painel e manda ela em toda chamada# want more quota, or the APIs that store your own data (key-value, queue,
# edge database, functions, cron, uptime)? sign up at app.alicercelabs.com.br,
# generate an API key in the panel and send it on every call
curl https://api.alicercelabs.com.br/api/v1/kv/preferencia-tema \
-H "Authorization: Bearer alk_..."
Limites por IP, contados por API: 100/dia · 4/hora sem token nas APIs de consulta; com uma API key (gerada no painel), 1.000/dia · 41/hora. As APIs que guardam dado por cliente sempre exigem uma API key. Detalhes por endpoint em cada página de API.
Limits are per IP, counted per API: 100/day · 4/hour with no token on the lookup APIs; with an API key (generated in the panel), 1,000/day · 41/hour. APIs that store per-client data always require an API key. Per-endpoint detail on each API's page.
Prefere não montar a chamada HTTP na mão? SDKs oficiais: Go · Python · JavaScript.
Would rather not build the HTTP call by hand? Official SDKs: Go · Python · JavaScript.