├── .gitignore └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # Uncomment these types if you want even more clean repository. But be careful. 2 | # It can make harm to an existing project source. Read explanations below. 3 | # 4 | # Resource files are binaries containing manifest, project icon and version info. 5 | # They can not be viewed as text or compared by diff-tools. Consider replacing them with .rc files. 6 | #*.res 7 | # 8 | # Type library file (binary). In old Delphi versions it should be stored. 9 | # Since Delphi 2009 it is produced from .ridl file and can safely be ignored. 10 | #*.tlb 11 | # 12 | # Diagram Portfolio file. Used by the diagram editor up to Delphi 7. 13 | # Uncomment this if you are not using diagrams or use newer Delphi version. 14 | #*.ddp 15 | # 16 | # Visual LiveBindings file. Added in Delphi XE2. 17 | # Uncomment this if you are not using LiveBindings Designer. 18 | #*.vlb 19 | # 20 | # Deployment Manager configuration file for your project. Added in Delphi XE2. 21 | # Uncomment this if it is not mobile development and you do not use remote debug feature. 22 | #*.deployproj 23 | # 24 | # C++ object files produced when C/C++ Output file generation is configured. 25 | # Uncomment this if you are not using external objects (zlib library for example). 26 | #*.obj 27 | # 28 | 29 | # Delphi compiler-generated binaries (safe to delete) 30 | *.exe 31 | *.dll 32 | *.bpl 33 | *.bpi 34 | *.dcp 35 | *.so 36 | *.apk 37 | *.drc 38 | *.map 39 | *.dres 40 | *.rsm 41 | *.tds 42 | *.dcu 43 | *.lib 44 | *.a 45 | *.o 46 | *.ocx 47 | 48 | # Delphi autogenerated files (duplicated info) 49 | *.cfg 50 | *.hpp 51 | *Resource.rc 52 | 53 | # Delphi local files (user-specific info) 54 | *.local 55 | *.identcache 56 | *.projdata 57 | *.tvsconfig 58 | *.dsk 59 | 60 | # Delphi history and backups 61 | __history/ 62 | __recovery/ 63 | *.~* 64 | 65 | # Castalia statistics file (since XE7 Castalia is distributed with Delphi) 66 | *.stat 67 | 68 | # Boss dependency manager vendor folder https://github.com/HashLoad/boss 69 | modules/ 70 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # 🌐 Lista APIs Públicas e Comerciais, e Projetos. 2 | 3 | Coletânea de APIs públicas encontradas na web para facilitar consultas de CNPJ, CEP, clima, moedas, NCM, entre outros. 4 | 5 | > **Nota:** Substitua os valores entre `[ ]` pelo dado desejado (ex.: `[cnpj]`, `[cep]`, `[uf]`). 6 | 7 | --- 8 | 9 | ## 📱 WhatsApp 10 | - [API WhatsApp (fraurino)](https://github.com/fraurino/apiwhatsapp) 11 | 12 | --- 13 | 14 | ## 🏢 Consulta CNPJ / IE 15 | APIs para consultar dados de empresas a partir do CNPJ e, em alguns casos, retornar a Inscrição Estadual (IE). 16 | 17 | - `cnpj.ws/[cnpj]` 18 | - `open.cnpja.com/[cnpj]` 19 | - `sintegraws.com.br/[cnpj]` 20 | - `http://www.dtloja.com.br:20000/api/cnpj/[cnpj]` 21 | - `https://www.receitaws.com.br/v1/cnpj/[cnpj]` 22 | - [Nuvem Fiscal](https://dev.nuvemfiscal.com.br/docs/api/#tag/Cnpj) 23 | - `https://publica.cnpj.ws/cnpj/[cnpj]` — Retorna a IE por UF 24 | - `https://sintegrawscom.br/[cnpj]` — Retorna a IE 25 | - `https://api-publica.speedio.com.br/buscarcnpj?cnpj=[cnpj]` 26 | - [API Consulta CNPJ](https://apiconsultacnpj.com.br/) 27 | - `https://minhareceita.org/[cnpj]` 28 | - `http://eanpictures.com.br:8000/api/cnpj/[cnpj]` 29 | - `https://www.sintegraws.com.br/` 30 | - `https://brasilapi.com.br/api/cnpj/v1/[cnpj]` 31 | 32 | --- 33 | 34 | ## 📦 Tabela NCM 35 | - [API Tabela NCM (Siscomex)](https://portalunico.siscomex.gov.br/classif/api/publico/nomenclatura/download/json) 36 | Exemplo em Delphi: [URLtoJsonNCM.pas](https://github.com/fraurino/casesexamples/blob/main/Exemplos/URLtoJsonNCM.pas) 37 | 38 | --- 39 | 40 | ## 📍 CEP 41 | - `https://viacep.com.br/ws/[cep]/json/` 42 | - `https://ws.apicep.com/cep/[cep].json` 43 | - `https://cep.awesomeapi.com.br/json/[cep]` 44 | - `https://brasilapi.com.br/api/cep/v2/[cep]` 45 | - `http://brasilapi.simplescontrole.com.br/correios/consulta-cep?cep=[cep]&access-token=[token]` 46 | 47 | --- 48 | 49 | ## 💱 Cotação de Moedas 50 | - [HG Brasil - Finance](https://api.hgbrasil.com/finance) 51 | - [AwesomeAPI - Documentação](https://docs.awesomeapi.com.br/api-de-moedas) 52 | - `https://economia.awesomeapi.com.br/json/last/USD-BRL` 53 | - `https://economia.awesomeapi.com.br/json/last/USD-BRL,EUR-BRL,BTC-BRL` 54 | 55 | --- 56 | 57 | ## 🗺️ Localidades / IBGE 58 | - `https://servicodados.ibge.gov.br/api/v1/localidades/estados/[uf]/distritos` 59 | - `https://viacep.com.br/ws/[cep]/json/` 60 | 61 | --- 62 | 63 | ## 📅 Feriados 64 | - `https://brasilapi.com.br/api/feriados/v1/[ano]` 65 | 66 | --- 67 | 68 | ## 🏙️ Cidades por UF 69 | - `https://brasilapi.com.br/api/ibge/municipios/v1/[uf]` 70 | 71 | --- 72 | 73 | ## 🛒 Foto e Imagem de Produto (GTIN / EAN) 74 | **Brasil API** 75 | - `http://brasilapi.simplescontrole.com.br/mercadoria/consulta/?ean=[CODIGO_GTIN]&access-token=[MY_TOKEN]` 76 | 77 | **EAN Pictures** 78 | - JSON: `http://www.eanpictures.com.br:9000/api/desc/[CODIGO_GTIN]` 79 | - Imagem: `http://www.eanpictures.com.br:9000/api/gtin/[CODIGO_GTIN]` 80 | 81 | **Cosmos Bluesoft** 82 | - `https://api.cosmos.bluesoft.com.br/gtins/[CODIGO_GTIN].json` 83 | - [Ajuda Bling](https://ajuda.bling.com.br/hc/pt-br/articles/360046422734-GET-produto-codigo-) 84 | 85 | ## Consulta GTIN com varios site de diversos ramos de negocios 86 | [Consulta GTIN PRO](https://projetos.aurino.com.br)

87 | image 88 | 89 | --- 90 | 91 | ## ☀️ Clima / Tempo 92 | - [HG Brasil - Weather](https://console.hgbrasil.com/documentation/weather) 93 | 94 | --- 95 | 96 | ✏ **Sugestão de uso:** 97 | Para facilitar, crie variáveis no seu código e substitua os valores entre colchetes (`[ ]`) dinamicamente. 98 | 99 | --- 100 | --------------------------------------------------------------------------------