agentdata 0.3.36__tar.gz → 0.3.49__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. agentdata-0.3.49/PKG-INFO +538 -0
  2. agentdata-0.3.49/README.md +513 -0
  3. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/__init__.py +1 -1
  4. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/cli.py +1 -1
  5. agentdata-0.3.49/agentdata/company/__init__.py +18 -0
  6. agentdata-0.3.49/agentdata/company/br_bacen.py +385 -0
  7. agentdata-0.3.49/agentdata/company/ca_osb.py +430 -0
  8. agentdata-0.3.49/agentdata/company/chi_bacp.py +66 -0
  9. agentdata-0.3.49/agentdata/company/cli.py +899 -0
  10. agentdata-0.3.49/agentdata/company/de_inso.py +600 -0
  11. agentdata-0.3.49/agentdata/company/es_borme.py +321 -0
  12. agentdata-0.3.49/agentdata/company/es_cnmv.py +225 -0
  13. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/faces.py +1125 -0
  14. agentdata-0.3.49/agentdata/company/jp_fsa.py +1120 -0
  15. agentdata-0.3.49/agentdata/company/lacity.py +62 -0
  16. agentdata-0.3.49/agentdata/company/nyc_dcwp.py +63 -0
  17. agentdata-0.3.49/agentdata/company/ru_cbr_credit.py +186 -0
  18. agentdata-0.3.49/agentdata/company/sg_datagovsg.py +239 -0
  19. agentdata-0.3.49/agentdata/company/tr_bddk.py +237 -0
  20. agentdata-0.3.49/agentdata/company/tx_tdlr.py +62 -0
  21. agentdata-0.3.49/agentdata/company/wa_doh.py +71 -0
  22. agentdata-0.3.49/agentdata/legal/__init__.py +5 -0
  23. agentdata-0.3.49/agentdata/legal/at_ris.py +249 -0
  24. agentdata-0.3.49/agentdata/legal/br_bacen_complaints.py +282 -0
  25. agentdata-0.3.49/agentdata/legal/br_bacen_regimes.py +109 -0
  26. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/cli.py +130 -0
  27. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/faces.py +258 -0
  28. agentdata-0.3.49/agentdata/legal/ru_cbr_warning.py +224 -0
  29. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/transport.py +73 -19
  30. agentdata-0.3.49/agentdata.egg-info/PKG-INFO +538 -0
  31. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata.egg-info/SOURCES.txt +18 -0
  32. {agentdata-0.3.36 → agentdata-0.3.49}/pyproject.toml +1 -1
  33. agentdata-0.3.36/PKG-INFO +0 -259
  34. agentdata-0.3.36/README.md +0 -234
  35. agentdata-0.3.36/agentdata/company/__init__.py +0 -4
  36. agentdata-0.3.36/agentdata/company/cli.py +0 -402
  37. agentdata-0.3.36/agentdata/legal/__init__.py +0 -5
  38. agentdata-0.3.36/agentdata.egg-info/PKG-INFO +0 -259
  39. {agentdata-0.3.36 → agentdata-0.3.49}/LICENSE +0 -0
  40. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/__main__.py +0 -0
  41. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/cache.py +0 -0
  42. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/client.py +0 -0
  43. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/cf.py +0 -0
  44. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/ch_zefix.py +0 -0
  45. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/co_rues.py +0 -0
  46. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/cz_ares.py +0 -0
  47. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/edgar_cik.py +0 -0
  48. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/edgar_fts.py +0 -0
  49. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/fdic_bankfind.py +0 -0
  50. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/fi_ytj.py +0 -0
  51. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/fr_recherche.py +0 -0
  52. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/fts.py +0 -0
  53. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/gg_gfsc.py +0 -0
  54. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/gleif.py +0 -0
  55. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/in_sebi_intm.py +0 -0
  56. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/je_jfsc.py +0 -0
  57. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/kr_hometax.py +0 -0
  58. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/kz_gbd_ul.py +0 -0
  59. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/no_brreg.py +0 -0
  60. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/nzco.py +0 -0
  61. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/ror.py +0 -0
  62. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/ted.py +0 -0
  63. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/tr_spk_borsa.py +0 -0
  64. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/usaspending.py +0 -0
  65. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/company/vies.py +0 -0
  66. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/daterange.py +0 -0
  67. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/__init__.py +0 -0
  68. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/bis.py +0 -0
  69. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/bls.py +0 -0
  70. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/cli.py +0 -0
  71. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/comext.py +0 -0
  72. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/ecb.py +0 -0
  73. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/eurostat.py +0 -0
  74. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/faces.py +0 -0
  75. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/fred.py +0 -0
  76. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/ilo_stat.py +0 -0
  77. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/imf_sdmx.py +0 -0
  78. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/oecd_sdmx.py +0 -0
  79. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/un_comtrade.py +0 -0
  80. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/unsd_sdg.py +0 -0
  81. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/wb.py +0 -0
  82. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/economy/who_xmart.py +0 -0
  83. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/entries.py +0 -0
  84. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/errors.py +0 -0
  85. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/__init__.py +0 -0
  86. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/cli.py +0 -0
  87. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/climatetrace.py +0 -0
  88. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/eiti.py +0 -0
  89. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/epa_frs.py +0 -0
  90. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/euasl.py +0 -0
  91. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/eutl.py +0 -0
  92. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/faces.py +0 -0
  93. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/paris_mou.py +0 -0
  94. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/esg/thetis_mrv.py +0 -0
  95. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/__init__.py +0 -0
  96. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/au_tga.py +0 -0
  97. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/ca_dpd.py +0 -0
  98. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/ca_mdall.py +0 -0
  99. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/cli.py +0 -0
  100. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/ctgov.py +0 -0
  101. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/dailymed.py +0 -0
  102. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/epmc.py +0 -0
  103. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/eudamed.py +0 -0
  104. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/faces.py +0 -0
  105. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/fda_crl.py +0 -0
  106. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/fda_devices.py +0 -0
  107. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/fda_drugs.py +0 -0
  108. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/fda_recalls.py +0 -0
  109. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/gb_mhra.py +0 -0
  110. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/gudid.py +0 -0
  111. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/mesh.py +0 -0
  112. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/rasff.py +0 -0
  113. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/rxnav.py +0 -0
  114. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/safety_gate.py +0 -0
  115. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/healthcare/shortages.py +0 -0
  116. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/afdb.py +0 -0
  117. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/ca_sema.py +0 -0
  118. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/cfpb.py +0 -0
  119. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/co_sic.py +0 -0
  120. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/courtlistener.py +0 -0
  121. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/csl.py +0 -0
  122. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/dgcomp.py +0 -0
  123. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/ecfr.py +0 -0
  124. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/federalregister.py +0 -0
  125. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/gazette.py +0 -0
  126. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/gb_cma.py +0 -0
  127. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/gb_tna_caselaw.py +0 -0
  128. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/idb.py +0 -0
  129. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/ie_revenue.py +0 -0
  130. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/in_sebi.py +0 -0
  131. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/lda.py +0 -0
  132. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/occ.py +0 -0
  133. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/sipri.py +0 -0
  134. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/tr_spk.py +0 -0
  135. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/ukec.py +0 -0
  136. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/legal/wb.py +0 -0
  137. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/__init__.py +0 -0
  138. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/br_pncp.py +0 -0
  139. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/cli.py +0 -0
  140. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/co_secop.py +0 -0
  141. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/faces.py +0 -0
  142. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/ny_open_data.py +0 -0
  143. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/ungm.py +0 -0
  144. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/procurement/wb_proc.py +0 -0
  145. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/__init__.py +0 -0
  146. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/biorxiv.py +0 -0
  147. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/cli.py +0 -0
  148. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/crossref.py +0 -0
  149. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/faces.py +0 -0
  150. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/gb_gtr.py +0 -0
  151. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/icite.py +0 -0
  152. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/nih_reporter.py +0 -0
  153. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/nsf.py +0 -0
  154. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/openalex.py +0 -0
  155. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/research/opencitations.py +0 -0
  156. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/__init__.py +0 -0
  157. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/cisa_kev.py +0 -0
  158. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/cli.py +0 -0
  159. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/euvd.py +0 -0
  160. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/faces.py +0 -0
  161. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata/security/osv.py +0 -0
  162. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata.egg-info/dependency_links.txt +0 -0
  163. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata.egg-info/entry_points.txt +0 -0
  164. {agentdata-0.3.36 → agentdata-0.3.49}/agentdata.egg-info/top_level.txt +0 -0
  165. {agentdata-0.3.36 → agentdata-0.3.49}/setup.cfg +0 -0
@@ -0,0 +1,538 @@
1
+ Metadata-Version: 2.4
2
+ Name: agentdata
3
+ Version: 0.3.49
4
+ Summary: AgentData domain API SDK — corpus (hosted) + third-party enrichment (local, keyless); stdlib-only
5
+ Author-email: dicaria <contact@dicaria.com>
6
+ License-Expression: Apache-2.0
7
+ Project-URL: Homepage, https://github.com/dicaria/agentdata
8
+ Project-URL: Source, https://github.com/dicaria/agentdata
9
+ Project-URL: Issues, https://github.com/dicaria/agentdata/issues
10
+ Project-URL: Changelog, https://github.com/dicaria/agentdata/releases
11
+ Keywords: company-intelligence,open-data,sanctions,procurement,enrichment,government-data
12
+ Classifier: Development Status :: 4 - Beta
13
+ Classifier: Intended Audience :: Developers
14
+ Classifier: Programming Language :: Python :: 3
15
+ Classifier: Programming Language :: Python :: 3.10
16
+ Classifier: Programming Language :: Python :: 3.11
17
+ Classifier: Programming Language :: Python :: 3.12
18
+ Classifier: Programming Language :: Python :: 3.13
19
+ Classifier: Operating System :: OS Independent
20
+ Classifier: Topic :: Scientific/Engineering :: Information Analysis
21
+ Requires-Python: >=3.10
22
+ Description-Content-Type: text/markdown
23
+ License-File: LICENSE
24
+ Dynamic: license-file
25
+
26
+ # agentdata
27
+
28
+ [![PyPI](https://img.shields.io/pypi/v/agentdata)](https://pypi.org/project/agentdata/)
29
+ [![License](https://img.shields.io/badge/license-Apache--2.0-blue)](https://github.com/dicaria/agentdata/blob/main/LICENSE)
30
+ [![Python](https://img.shields.io/badge/python-3.10%2B-blue)](https://www.python.org)
31
+ [![Commands](https://img.shields.io/badge/166_commands-8_domains-teal)](https://github.com/dicaria/agentdata/blob/main/docs/domains/api.md)
32
+
33
+ **One Python client and CLI over 166 public datasets — company registries,
34
+ sanctions lists, procurement awards, drug approvals — with no API keys and no
35
+ accounts.**
36
+
37
+ Government data holds the decisive facts about companies, but it is scattered
38
+ across 112 public APIs, each with its own pagination, rate
39
+ limits, and undocumented quirks. **agentdata puts 166 of those datasets behind
40
+ one interface**: a pure-standard-library client and CLI across 27 jurisdictions. Every upstream gotcha we hit live is already pinned — politeness
41
+ and caching are built in.
42
+
43
+ ## Install
44
+
45
+ ```bash
46
+ python -m pip install agentdata
47
+ ```
48
+
49
+ For a reproducible install, pin the release: `python -m pip install agentdata==0.3.49`.
50
+
51
+ Prefer not to touch PyPI? Install straight from a release tarball:
52
+
53
+ ```bash
54
+ python -m pip install https://github.com/dicaria/agentdata/archive/refs/tags/v0.3.49.tar.gz
55
+ ```
56
+
57
+ Or via git (pin a tag for reproducible installs):
58
+
59
+ ```bash
60
+ python -m pip install git+https://github.com/dicaria/agentdata.git@v0.3.49
61
+ ```
62
+
63
+ Or track the latest release (convenience for agents and scripts — a fresh
64
+ release does not trigger a reinstall under the same URL, so pass
65
+ `--force-reinstall` when you want the new one):
66
+
67
+ ```bash
68
+ python -m pip install --force-reinstall https://github.com/dicaria/agentdata/releases/latest/download/agentdata-latest.tar.gz
69
+ ```
70
+
71
+ ## Two API families
72
+
73
+ | Family | Where it runs | Credentials | Cost |
74
+ |---|---|---|---|
75
+ | **Enrichment** | Locally — the SDK calls public government / open-data APIs from your machine | none | free |
76
+ | **Corpus** | Hosted service operated by dicaria | credentials issued by dicaria | per service agreement |
77
+
78
+ Most commands are enrichment: they need no configuration, no keys, no account.
79
+ Corpus commands are marked in the docs and require credentials issued by
80
+ dicaria under a separate service agreement — contact **contact@dicaria.com**.
81
+
82
+ ## What can you ask it?
83
+
84
+ Commands follow `<domain> <source>_<dataset>` — one command per upstream
85
+ dataset, parameters kept under their upstream names. Every row below works as
86
+ `agentdata <domain> <command> …` from the shell, or
87
+ `c.<domain>.<command>(…)` from Python.
88
+
89
+ | Question | Commands |
90
+ |---|---|
91
+ | Is this company sanctioned? | `legal csl_screening_list` · `legal co_sic_sanctions` · `legal wb_debarred_firms` · `legal ca_sema_sanctions` · `legal ru_cbr_warning_list` |
92
+ | Do consumers complain about this company? | `legal cfpb_complaints` · `legal cfpb_suggest_company` · `legal br_bacen_complaints` |
93
+ | Who owns or controls it? | `company gleif_direct_parent` · `company no_brreg_roller` · `company fr_recherche_search` |
94
+ | Did it win public contracts? | `procurement br_pncp_contracts` · `procurement ungm_contract_awards` · `procurement wb_procnotices` |
95
+ | Is its drug or device approved — or recalled? | `healthcare fda_drug_approvals` · `healthcare gb_mhra_alerts` · `healthcare fda_drug_recalls` |
96
+ | What does this facility or fleet emit? | `esg climatetrace_sources` · `esg thetis_mrv_datasets` · `esg paris_mou_detentions` |
97
+ | Pull a company card from a national registry | `company ch_zefix_firm` · `company co_rues_companies` · `company kr_hometax_biz_status` · `company kz_gbd_ul_companies` · `company cz_ares_ekonomicke_subjekty` · `company in_sebi_intermediaries` · `company tr_spk_listed` · `company tr_bddk_institutions` · `company ru_cbr_credit_orgs` · `company br_bacen_institutions` · `company br_bacen_branches` · `company br_bacen_domains` · `company br_bacen_dasfn` |
98
+ | Has its broker been expelled, or its regulator fined it? | `legal in_sebi_orders` · `company in_sebi_default_brokers` |
99
+ | Has the regulator fined it, banned it, or put it under a special regime? | `legal tr_spk_fines` · `legal tr_spk_bans` · `legal br_bacen_regimes` |
100
+ | How big is the country it operates in? | `economy wb_wdi_values` · `economy eurostat_table` · `economy fred_series` |
101
+ | Convert an EUR amount, or read a bilateral trade flow | `economy ecb_fx_rates` · `economy un_comtrade_trade` |
102
+
103
+ ## Quick start
104
+
105
+ ```python
106
+ from agentdata import Client
107
+
108
+ c = Client() # zero config: enrichment commands work immediately
109
+
110
+ c.healthcare.fda_drug_recalls(search='recalling_firm.exact:"SV Labs Toronto Corporation"')
111
+ c.company.gleif_lei_records(lei="5493001KJTIIGC8Y1R12") # LEI -> entity identity card (GLEIF)
112
+ c.company.ch_zefix_firm_search(name="siemens") # Swiss commercial registry (Zefix)
113
+ c.esg.climatetrace_sources(owner_ids="E100000001492", year=2023) # owner -> facility-level emissions
114
+ c.legal.csl_screening_list(name="VTB BANK") # sanctions screening (US CSL)
115
+ c.research.openalex_works(search="vaccine", ror="01xdqrp08")
116
+ c.procurement.br_pncp_contracts(data_inicial="20260901", data_final="20260930", pagina=1)
117
+ c.security.osv_vulns(package="lodash", ecosystem="npm", version="4.17.15")
118
+ c.economy.wb_wdi_values(country="CHN", indicator="NY.GDP.MKTP.CD", date="2020:2023") # World Bank indicator values
119
+ c.economy.ecb_fx_rates(currency="USD", start="2026-10-01", end="2026-10-31") # euro reference rate (1 EUR = X)
120
+ ```
121
+
122
+ The same commands from the shell — nine entry points, `agentdata` plus one
123
+ per domain:
124
+
125
+ ```bash
126
+ agentdata healthcare rxnav_rxcui_by_name --name atorvastatin
127
+ agentdata company gleif_lei_records_search --filter-entity-legal-name "Siemens" --page-size 3
128
+ agentdata legal csl_screening_list --name "VTB BANK"
129
+ agentdata esg climatetrace_sources --owner-ids E100000001492 --year 2023
130
+ agentdata procurement br_pncp_contracts --data-inicial 20260901 --data-final 20260930 --pagina 1
131
+ agentdata economy wb_wdi_values --country CHN --indicator NY.GDP.MKTP.CD --date 2020:2023
132
+ ```
133
+
134
+ If a domain entry-point command (`company`, `legal`, …) collides with another
135
+ tool on your machine, `python -m agentdata <domain> …` is the equivalent
136
+ invocation.
137
+
138
+ Corpus commands use the same shape with hosted credentials:
139
+
140
+ ```python
141
+ c2 = Client(base_url="https://…", api_key="mk_live_…") # PAT issued by dicaria
142
+ c2.company.read(id=1476, level="tier2")
143
+ ```
144
+
145
+ ## Show me a response
146
+
147
+ Real output of `agentdata healthcare rxnav_rxcui_by_name --name atorvastatin` —
148
+ every command returns this shape:
149
+
150
+ ```json
151
+ {
152
+ "ok": true,
153
+ "domain": "healthcare",
154
+ "tool": "rxnav_rxcui_by_name",
155
+ "input": { "name": "atorvastatin" },
156
+ "from_cache": false,
157
+ "reason": "RxNav normalization: drug name 'atorvastatin' → RxCUI 83367 (ingredient level)",
158
+ "result": {
159
+ "rxcui": "83367",
160
+ "normalized_name": "atorvastatin",
161
+ "tty": "IN"
162
+ },
163
+ "evidence": [
164
+ {
165
+ "quote": "RxCUI 83367 = atorvastatin",
166
+ "url": "https://rxnav.nlm.nih.gov/REST/rxcui/83367/properties.json"
167
+ }
168
+ ],
169
+ "source": {
170
+ "provider": "rxnav",
171
+ "execution": "local",
172
+ "observed_at": "2026-11-02T03:28:22.213Z"
173
+ },
174
+ "request_id": "3f343e2f-3b08-46e8-ac69-8ee05adce548",
175
+ "jurisdiction": "US"
176
+ }
177
+ ```
178
+
179
+ A plain-language `reason`, `evidence` rows with a checkable quote and source
180
+ URL, provenance in `source`, the issuing authority in `jurisdiction`, and a
181
+ `request_id` for support — your code parses one shape across all datasets.
182
+ Cached responses are identical, with `from_cache: true`.
183
+
184
+ ## Why not just call the APIs yourself?
185
+
186
+ You can — and then you get to rediscover what is already pinned here:
187
+
188
+ - **Quirks are pre-solved, not rediscovered.** Every command encodes traps we
189
+ hit against the live API: anti-forgery token dances, Socrata parameters that
190
+ are silently ignored, registries that clamp your page size without an error.
191
+ - **One envelope across all 166 commands.** Query echo, `reason`, `evidence`,
192
+ source metadata, `jurisdiction` — your code parses one shape.
193
+ - **Upstream parameter names, verbatim.** What the official API docs call a
194
+ parameter is what the SDK takes — no invented vocabulary to unlearn.
195
+ - **Polite by default.** Per-source rate limits are enforced before every
196
+ request ([rate-limits ledger](https://github.com/dicaria/agentdata/blob/main/docs/domains/rate-limits.md)),
197
+ and a cache hit costs no rate budget.
198
+ - **Zero dependencies.** Python 3.10+ standard library only.
199
+
200
+ ## Coverage
201
+
202
+ **166 datasets · 115 upstream providers · 27 jurisdictions:** US 46 · global 40 · EU 15 · UK 12 · Brazil 7 · Canada 6 · Türkiye 4 · Colombia 3 · ES 3 · India 3 · AT 2 · Australia 2 · Switzerland 2 · Czechia 2 · DE 2 · Guernsey 2 · Norway 2 · New Zealand 2 · RU 2 · SG 2 · Finland 1 · France 1 · Ireland 1 · Jersey 1 · JP 1 · Korea 1 · Kazakhstan 1.
203
+
204
+ | Domain | Commands | Sources |
205
+ |---|---|---|
206
+ | `healthcare` | 31 | US FDA approvals & recalls, ClinicalTrials.gov, RxNav, DailyMed, AccessGUDID, UK MHRA alerts, Health Canada DPD & MDALL, EUDAMED, RASFF & Safety Gate (EU), TGA (AU), Europe PMC, MeSH |
207
+ | `legal` | 32 | US consolidated screening list, eCFR, Federal Register, LDA filings, CourtListener, DG COMP, UK CMA cases, UK Electoral Commission, The Gazette, Irish Revenue defaulters, US OCC enforcement, TNA case law, SIPRI, SIC sanctions (CO), MDB debarment rosters (WB/AfDB/IDB), Canada SEMA, CFPB consumer complaints, SEBI enforcement orders (IN), SPK administrative fines & trading bans (TR), CBR illegal-finance warning register (RU), BACEN special regimes & complaint rankings (BR), RIS case law & consolidated federal law (AT) |
208
+ | `company` | 52 | GLEIF, SEC EDGAR, FDIC, USAspending, TED, VIES, UK Contracts Finder & FTS, Zefix (CH), Brreg (NO), YTJ (FI), recherche-entreprises (FR), RUES (CO), Hometax (KR), ROR, NZ Companies Office, ARES (CZ), GFSC (GG), JFSC (JE), GBD_UL (KZ), SEBI intermediaries (IN), SPK public-company register (TR), BDDK licensed institutions (TR), CBR credit institutions (RU), BACEN institutions, branches, verified domains & open-finance API directory (BR), federal insolvency announcements (DE), FSA licensed-institution registers (JP), CCAA restructuring roster (CA), CNMV supervised entities & BORME gazette (ES), data.gov.sg platform (SG), TDLR licenses (TX) & DOH credentials (WA), Chicago BACP business licenses, LA City business register, NYC DCWP licenses |
209
+ | `economy` | 18 | World Bank WDI, Eurostat, ECB reference rates, FRED, WHO xMart, UN Comtrade, ILOSTAT, BLS, BIS, IMF, OECD, Comext |
210
+ | `esg` | 12 | Climate TRACE, EITI, EU ETS (EUTL), THETIS-MRV (EU shipping), EPA FRS, Paris MoU, EU Air Safety List |
211
+ | `research` | 10 | OpenAlex, NIH RePORTER, NSF, Crossref, UKRI GtR, iCite, bioRxiv, OpenCitations |
212
+ | `procurement` | 7 | PNCP (BR), SECOP II (CO), UNGM, World Bank, New York Authorities / MTA / OGS (US) |
213
+ | `security` | 4 | OSV, CISA KEV, ENISA EUVD |
214
+
215
+ ## Full command index
216
+
217
+ Nine entry points — `agentdata` plus one command per domain — and 166 dataset
218
+ commands under them: one command per upstream dataset, parameters kept under
219
+ their upstream names. The block below is the complete index, grouped by domain
220
+ in the same order as the Chinese [README.md](README.md). Every line is a
221
+ runnable command.
222
+
223
+ ```bash
224
+ # healthcare (31)
225
+ agentdata healthcare rxnav_rxcui_by_name --name atorvastatin
226
+ agentdata healthcare rxnav_rxcui_atc --rxcui 83367
227
+ agentdata healthcare mesh_descriptor --label aspirin
228
+ agentdata healthcare gudid_devices --di 10198459305313
229
+ agentdata healthcare eudamed_devices_udi_di_data --primary-di 00191506004682
230
+ agentdata healthcare epmc_search --search 'AFF:"AstraZeneca"' --page-size 40
231
+ agentdata healthcare ctgov_studies --query.term 'AREA[LeadSponsorName]("Pfizer")' --page-size 3
232
+ agentdata healthcare ctgov_studies --query.titles aspirin --agg-filters phase:3 --page-size 3
233
+ agentdata healthcare dailymed_spls --search atorvastatin
234
+ agentdata healthcare fda_drug_shortages --search 'openfda.manufacturer_name.exact:"Fresenius Kabi USA, LLC" AND status:Current' --limit 3
235
+ agentdata healthcare fda_drug_recalls --search 'recalling_firm.exact:"SV Labs Toronto Corporation"'
236
+ agentdata healthcare fda_device_recalls --search 'recalling_firm:"Sedecal"' --limit 5
237
+ agentdata healthcare fda_food_recalls --search 'classification:"Class I" AND status:Ongoing' --limit 5
238
+ agentdata healthcare fda_crl_letters --search 'company_name:"InnoPharma"'
239
+ agentdata healthcare fda_drug_approvals --search 'sponsor_name:"TEVA"' --limit 5
240
+ agentdata healthcare fda_drug_catalog --search 'labeler_name:"pfizer"' --limit 5
241
+ agentdata healthcare fda_orangebook --search 'products.application_full_name:"Teva"' --limit 5
242
+ agentdata healthcare fda_device_510k --search 'applicant:"Medtronic"' --limit 5
243
+ agentdata healthcare fda_device_pma --search 'applicant:"Medtronic"' --limit 5
244
+ agentdata healthcare fda_device_registrations --search 'registration.name:"PLANET (ANHUI) INTERNATIONAL"' --limit 5
245
+ agentdata healthcare fda_device_classification --search 'device_name:"syringe"' --limit 5
246
+ agentdata healthcare gb_mhra_alerts --q Abbott --count 3
247
+ agentdata healthcare gb_mhra_alert --slug class-2-medicines-recall-xeal-pharma-clopidogrel-oral-liquids-all-strengths-el-26-a-slash-43
248
+ agentdata healthcare au_tga_artg --query '"Sun Pharma ANZ Pty Ltd"' --limit 5
249
+
250
+ agentdata healthcare au_tga_manufacturers --state QLD
251
+ agentdata healthcare ca_dpd_companies --limit 5
252
+ agentdata healthcare ca_dpd_drug_products --status 3 --limit 5
253
+ agentdata healthcare ca_mdall_companies --limit 5
254
+ agentdata healthcare ca_mdall_licence --licence-id 111577
255
+ agentdata healthcare rasff_notifications --subject aflatoxin --items-per-page 5
256
+ agentdata healthcare safety_gate_alerts --year 2026 --limit 5
257
+ agentdata healthcare safety_gate_report --report-id 10000329 --limit 5
258
+
259
+ # company (52)
260
+ agentdata company gleif_lei_records --lei 5493001KJTIIGC8Y1R12
261
+ agentdata company gleif_lei_records_search --filter-entity-legal-name Nestle --filter-entity-jurisdiction CH --page-size 5
262
+ agentdata company gleif_direct_parent --lei 5493001KJTIIGC8Y1R12
263
+ agentdata company gleif_ultimate_parent --lei 5493001KJTIIGC8Y1R12
264
+ agentdata company fdic_institutions --filters CERT:628
265
+ agentdata company sec_submissions --cik 320193
266
+ agentdata company ror_organizations --query EMBL
267
+ agentdata company vies_vat --vat DE811907980
268
+ agentdata company usaspending_spending_by_award --recipient-search-text "Lockheed Martin" --start-date 2024-01-01 --end-date 2024-12-31 --limit 3
269
+ agentdata company ted_notices_search --query 'organisation-name-buyer=Siemens* AND organisation-country-buyer=DEU' --limit 5
270
+ agentdata company gb_fts_release_packages --name nhs --updated-from 2026-10-01 --updated-to 2026-10-27 --limit 5
271
+ agentdata company gb_contracts_finder_published_notices --name council --published-from 2026-10-20 --published-to 2026-10-27 --limit 5
272
+ agentdata company sec_fulltext_search --q "artificial intelligence" --forms 8-K --limit 5
273
+ agentdata company ch_zefix_firm_search --name "Nestle" --max-entries 3
274
+ agentdata company ch_zefix_firm --ehraid 347554
275
+ agentdata company no_brreg_enheter --navn equinor --size 2
276
+ agentdata company no_brreg_roller --organisasjonsnummer 923609016
277
+ agentdata company nzco_companies --q "air new zealand" --limit 15
278
+ agentdata company nzco_directors --company-number 104799
279
+ agentdata company fi_ytj_companies --name nokia
280
+ agentdata company fr_recherche_search --q danone
281
+ agentdata company fr_recherche_search --q "552032534" --per-page 25 --etat-administratif A
282
+ agentdata company co_rues_companies --where "razon_social like '%BANCOL%'" --limit 5
283
+ agentdata company kr_hometax_biz_status --biz-no 124-81-00998
284
+ agentdata company kz_gbd_ul_companies --text "ВЕЛЛЕТ" --count 5
285
+ agentdata company cz_ares_ekonomicke_subjekty --ico 45274649
286
+ agentdata company cz_ares_ekonomicke_subjekty_vyhledat --obchodni-jmeno "ČEZ" --pocet 5
287
+ agentdata company gg_gfsc_registered_businesses --category accountant --limit 5
288
+ agentdata company gg_gfsc_regulated_entities --licence "Investment Licensee" --status active --limit 5
289
+ agentdata company je_jfsc_regulated_entities --keyword Barclays --page-size 5
290
+ agentdata company in_sebi_intermediaries --category sb_equity --search MOTILAL
291
+ agentdata company in_sebi_default_brokers
292
+ agentdata company tr_spk_listed --segment borsadisi --name AKSEL
293
+ agentdata company tr_spk_listed --mersis 0470003286100012
294
+ agentdata company ru_cbr_credit_orgs --name "ДЕМО" --status active --limit 5
295
+ agentdata company ru_cbr_credit_orgs --ogrn 1037700000001
296
+ agentdata company br_bacen_institutions --family banco --segmento múltiplo --limit 5
297
+ agentdata company br_bacen_branches --if-name CAIXA --uf SP --limit 5
298
+ agentdata company br_bacen_domains --tipo none --limit 5
299
+ agentdata company br_bacen_dasfn --api pix_saque --limit 5
300
+ agentdata company tr_bddk_institutions --category bankalar --limit 5
301
+ agentdata company tr_bddk_institutions --status exited --limit 5
302
+ agentdata company de_inso_search --state NW --date-from 2026-11-02 --date-to 2026-11-02 --limit 5
303
+ agentdata company de_inso_register_lookup --register-court "Düsseldorf" --register-type HRB --register-number 101036 --date-from 2026-11-02 --date-to 2026-11-02 --limit 5
304
+ agentdata company jp_fsa_licensed --category crypto_exchanges --limit 5
305
+ agentdata company jp_fsa_licensed --category trust_agents --name 北洋 --limit 5
306
+ agentdata company ca_ccaa_records --province QC --limit 5
307
+ agentdata company ca_ccaa_records --name "MTE Logistix"
308
+ agentdata company ca_ccaa_records --monitor KPMG --province AB --limit 5
309
+ agentdata company es_borme_day --date 2026-11-04 --limit 5
310
+ agentdata company es_borme_day --date 2026-11-04 --kind A --limit 3
311
+ agentdata company es_borme_notice --id BORME-A-2026-181 --order 2
312
+ agentdata company es_borme_notice --id BORME-C-2026-5782
313
+ agentdata company es_cnmv_entities --category securities_firms --limit 5
314
+ agentdata company es_cnmv_entities --category securities_firms --nif A-83217281
315
+ agentdata company es_cnmv_entities --category eea_investment_firms_passport --name Goldman --limit 3
316
+ agentdata company sg_datagovsg_datasets --limit 5
317
+ agentdata company sg_datagovsg_datasets --q ACRA --limit 5
318
+ agentdata company sg_datagovsg_dataset_download --id d_3f960c10fed6145404ca7b821f263b87
319
+ agentdata company sg_datagovsg_dataset_download --id d_b1d2b840ab9e993570c037b706b39bb8
320
+ agentdata company tx_tdlr_licenses --limit 3
321
+ agentdata company tx_tdlr_licenses --where "license_type='Cosmetology Operator' and business_county='TRAVIS'" --limit 3
322
+ agentdata company wa_doh_credentials --limit 3
323
+ agentdata company wa_doh_credentials --where "credentialtype='Physician And Surgeon License' and status='Active'" --limit 3
324
+ agentdata company chi_bacp_licenses --where "license_description='Consumption on Premises - Incidental Activity' and license_status='AAI'" --limit 3
325
+ agentdata company lacity_registrations --where "naics like '7213%' and council_district='10'" --limit 3
326
+ agentdata company nyc_dcwp_licenses --where "business_category='Secondhand Dealer - General' and license_status='Active'" --limit 3
327
+
328
+ # economy (18)
329
+ agentdata economy bis_sdmx_series --flow WS_CBPOL --key M.US --start 2026-01-01
330
+ agentdata economy bls_series --series CUUR0000SA0,LNS14000000,CES0000000001 --start-year 2025 --end-year 2026
331
+ agentdata economy comext_flows --reporter DE --partner CN --product 85 --time 2024
332
+ agentdata economy ecb_fx_rates --currency USD --start 2026-10-01 --end 2026-10-31
333
+ agentdata economy eurostat_table --table nama_10_a64 --geo DE --time 2023
334
+ agentdata economy fred_series --series GDP --start 2024-01-01 --end 2026-11-01
335
+ agentdata economy ilo_stat_indicator --indicator EMP_TEMP_SEX_ECO_NB_A --ref-area USA --time-from 2020 --time-until 2024
336
+ agentdata economy imf_sdmx_series --flow WEO --country USA --indicator NGDP_RPCH --start 2023 --end 2026
337
+ agentdata economy oecd_sdmx_series --flow OECD.ECO.MAD,DSD_EO@DF_EO,1.5 --key DEU.. --start 2024 --end 2027
338
+ agentdata economy un_comtrade_trade --reporter USA --period 2023 --partner DEU --cmd TOTAL --flow X
339
+ agentdata economy unsd_sdg_indicators --search poverty
340
+ agentdata economy unsd_sdg_series --series DC_ODA_POVLG --geo China --time 2020
341
+ agentdata economy wb_countries --per-page 300
342
+ agentdata economy wb_ids_indicators --search "external debt"
343
+ agentdata economy wb_wdi_indicators --source 2 --search GDP
344
+ agentdata economy wb_wdi_values --country CHN --indicator NY.GDP.MKTP.CD --date 2020:2023
345
+ agentdata economy who_xmart_indicators --search tuberculosis --top 20
346
+ agentdata economy who_xmart_values --indicator TB_ppm_enrol_tx_prct --geo PAK --year 2023
347
+
348
+ # esg (12)
349
+ agentdata esg eiti_companies --name Equinor
350
+ agentdata esg eiti_payments --name Equinor
351
+ agentdata esg climatetrace_owners --name Gazprom
352
+ agentdata esg climatetrace_sources --owner-ids E100000001492 --year 2023 --limit 20
353
+ agentdata esg epa_frs_facilities --state-code DE --city-name MILTON --size 3
354
+ agentdata esg euasl_datasets
355
+ agentdata esg eutl_datasets
356
+ agentdata esg thetis_mrv_datasets
357
+ agentdata esg paris_mou_detentions
358
+ agentdata esg paris_mou_bans
359
+ agentdata esg paris_mou_low_performance_companies
360
+ agentdata esg paris_mou_inspections --period-min 01/12/2025 --period-max 31/12/2025 --ism-company-imo-number 0052193
361
+
362
+ # legal (32)
363
+ agentdata legal afdb_debarred_entities --name "CHINA RAILWAY" --limit 3
364
+ agentdata legal ca_sema_sanctions --country Syria --limit 3
365
+ agentdata legal co_sic_sanctions --limit 3 --order "fecha_emitida DESC"
366
+ agentdata legal csl_screening_list --name "VTB BANK" --limit 3
367
+ agentdata legal ecfr_search --q asbestos --limit 5
368
+ agentdata legal ecfr_titles
369
+ agentdata legal dgcomp_cases_search --name Google --instrument SA
370
+ agentdata legal idb_debarred_entities --q SHANDONG --limit 3
371
+ agentdata legal lda_filings --client-name "Google LLC" --limit 25
372
+ agentdata legal gb_ec_donations --query Sainsbury --limit 3
373
+ agentdata legal gb_ec_loans --query bank --limit 2
374
+ agentdata legal sipri_trades_search --supplier "United States" --type delivered --limit 3
375
+ agentdata legal federalregister_documents --q asbestos --startdt 2026-01-01 --enddt 2026-09-30 --limit 3
376
+ agentdata legal courtlistener_opinions_search --q asbestos
377
+ agentdata legal gb_cma_cases --q google --count 5
378
+ agentdata legal gb_cma_case --slug nexfibre-slash-substantial-merger-inquiry
379
+ agentdata legal gb_tna_caselaw_search --party Barclays --per-page 3
380
+ agentdata legal gb_tna_caselaw_judgment --document-uri ewhc/admin/2026/2298
381
+ agentdata legal wb_debarred_firms --name "CHINA RAILWAY" --country CN --limit 3
382
+ agentdata legal gb_gazette_notices --insolvency --text "acme" --page-size 5
383
+ agentdata legal ie_revenue_defaulters --part 1
384
+ agentdata legal us_occ_enforcements --year 2026 --month October
385
+ agentdata legal cfpb_complaints --search-term Discover --field company --size 3
386
+ agentdata legal cfpb_suggest_company --text Discover
387
+ agentdata legal in_sebi_orders --search Adani
388
+ agentdata legal tr_spk_fines --name "FERUDUN" --year 2025
389
+ agentdata legal tr_spk_bans --type company
390
+ agentdata legal ru_cbr_warning_list --violation pyramid --limit 5
391
+ agentdata legal ru_cbr_warning_list --site t.me --type internet_project --limit 5
392
+ agentdata legal br_bacen_regimes --cnpj 33171211
393
+ agentdata legal br_bacen_complaints --name ITAU --limit 5
394
+ agentdata legal br_bacen_complaints --tipo consortiums --name ADEMICON
395
+ agentdata legal at_ris_judgments --court Justiz --case-number "2 Ob 52/16k" --limit 3
396
+ agentdata legal at_ris_statutes --q GmbH --limit 3
397
+
398
+ # research (10)
399
+ agentdata research nih_reporter_projects --org-name "Stanford University" --fiscal-year 2024 --limit 3
400
+ agentdata research nih_reporter_publications --appl-ids 10491636
401
+ agentdata research nsf_awards --keyword "rare earth" --rpp 3
402
+ agentdata research openalex_institutions --search pfizer --per-page 3
403
+ agentdata research openalex_works --search aspirin --per-page 3
404
+ agentdata research crossref_works --funder 10.13039/100000001 --award-number OAC-1730655
405
+ agentdata research gb_gtr_projects --q lithium --s 10
406
+ agentdata research icite_pubs --pmid 26017442
407
+ agentdata research biorxiv_details --from-date 2026-10-01 --to-date 2026-10-07
408
+ agentdata research opencitations_citations --doi 10.1038/nature12373
409
+
410
+ # security (4)
411
+ agentdata security cisa_kev_catalog --limit 5
412
+ agentdata security euvd_exploited --limit 5
413
+ agentdata security euvd_vulnerability --id CVE-2024-3400
414
+ agentdata security osv_vulns --package lodash --ecosystem npm
415
+
416
+ # procurement (7)
417
+ agentdata procurement br_pncp_contracts --data-inicial 20260901 --data-final 20260930 --pagina 1
418
+ agentdata procurement co_secop_contracts --where "upper(nombre_entidad) like '%MINISTERIO%'" --limit 5
419
+ agentdata procurement wb_procnotices --rows 5
420
+ agentdata procurement ny_abo_contracts --where "upper(vendor_name) like '%DELTA%'" --limit 5
421
+ agentdata procurement ny_mta_procurements --where "upper(vendor_name) like '%SKANSKA%'" --limit 5
422
+ agentdata procurement ungm_contract_awards --supplier DELTA
423
+ agentdata procurement ny_ogs_payments --where "upper(vendor) like '%HIGHLAND%'" --limit 5
424
+ ```
425
+
426
+ ## Caching
427
+
428
+ Every response is cached in a per-user SQLite cache shared across processes —
429
+ cache hits cost no rate budget, and entry lifetimes follow the per-source TTL
430
+ table in the [rate-limits ledger](https://github.com/dicaria/agentdata/blob/main/docs/domains/rate-limits.md);
431
+ immutable lookups (e.g. drug name → RxCUI) are cached permanently. A fresh
432
+ install in a new virtual environment will reuse entries written by earlier
433
+ runs on the same machine — that is by design.
434
+
435
+ | | |
436
+ |---|---|
437
+ | Default | `%LOCALAPPDATA%\agentdata\cache.db` (Windows) · `~/.cache/agentdata/cache.db` (macOS/Linux) |
438
+ | Override | `AGENTDATA_CACHE_DIR` env var · `--cache-dir` (CLI) |
439
+ | Bypass / clear | `--no-cache` (CLI) · `no_cache=True` (Python) · delete the file |
440
+
441
+ ## Documentation
442
+
443
+ - [docs/domains/api.md](https://github.com/dicaria/agentdata/blob/main/docs/domains/api.md) —
444
+ the API contract of the release you installed: the two families,
445
+ request/response envelope, parameter conventions
446
+ - [docs/domains/rate-limits.md](https://github.com/dicaria/agentdata/blob/main/docs/domains/rate-limits.md) —
447
+ per-source rate-limit facts this release enforces
448
+ - [docs/publishing.md](https://github.com/dicaria/agentdata/blob/main/docs/publishing.md) —
449
+ maintainer setup, package checks, and PyPI releases
450
+ - Hosted-corpus per-domain guides: contact **contact@dicaria.com**
451
+
452
+ ## Releases
453
+
454
+ The complete batch log — every release back to 0.1.0 — is kept in the Chinese
455
+ [README.md](README.md#版本). The five most recent batches:
456
+
457
+ **0.3.49 — company US city-license Socrata trio (+3 faces, 163→166; company 49→52).**
458
+ `chi_bacp_licenses` reads the Chicago business-licensing register
459
+ (data.cityofchicago.org `r5kz-chrr`: 1,210,956 rows, full history back to
460
+ 1997), `lacity_registrations` reads the LA City register (data.lacity.org
461
+ `6rrh-rzua`: 632,799 rows), and `nyc_dcwp_licenses` reads the NYC DCWP
462
+ consumer-affairs license book (data.cityofnewyork.us `w7w3-xahh`: 72,452
463
+ rows). All three are SoQL verbatim channels — the `co_rues` contract — and
464
+ the state-axis ruling of 0.3.48 extends to the city axis: faces are named on
465
+ the host/locality stem, and `lacity` is deliberately not `la_` (LA is
466
+ ISO-3166 Laos; SDK prefixes are country codes). Chicago refreshes daily via
467
+ payment_date (TTL 24h); NYC's book lags ~2.5 months (TTL 7d); the LA table
468
+ is a registration book, not a license book. Socrata system columns
469
+ (`:@computed_region_*`) pass through verbatim — and drift per row on the LA
470
+ host (5↔6), while the NYC host ships none.
471
+ **0.3.48 — company US state-license Socrata twin (+2 faces, 161→163; company 47→49).**
472
+ `tx_tdlr_licenses` reads the Texas TDLR all-licenses register (data.texas.gov
473
+ `7358-krk7`: 966,778 rows × 26 view columns — 18 real + 8 Socrata
474
+ `:@computed_region_*` system columns) and `wa_doh_credentials` reads the
475
+ Washington DOH health-care credential register (data.wa.gov `qxh8-f4bd`:
476
+ 2,468,860 rows, refreshed daily — the count moved +1 past the research probe
477
+ the same day). Both are SoQL verbatim channels (raw `$where`, `$limit`
478
+ 1-500, `$order` without NULLS, no total echo and none faked) — the `co_rues`
479
+ contract — and the SDK's first US sub-national state-axis faces, named on
480
+ state-code prefixes. Socrata omits null fields per row, so a bare individual
481
+ row ships 9 keys while an establishment row carries the whole
482
+ business-address family — the individual-vs-establishment duality lives in
483
+ the data, not the schema. The WA birthyear column is stripped from every row
484
+ (the PII red line: birth year + full name is exactly the combination the
485
+ house rules rule out — names stay, birth years do not).
486
+ **0.3.47 — legal AT RIS OGD pair (+2 faces, 159→161; legal 30→32).**
487
+ `at_ris_judgments` / `at_ris_statutes` read the Austrian federal legal
488
+ information system's open-data API (data.bka.gv.at, OGD API v2.6) — the
489
+ SDK's first AT jurisdiction: sixteen Judikatur shards (1,008,601 documents;
490
+ Vwgh alone 357,857 and drifting daily) plus the consolidated Bundesrecht
491
+ (442,058 documents). The gate is a parameter wall, not a rate line:
492
+ `Applikation` is case-sensitive (VWGH is answered by an HTTP 200 whose error
493
+ body self-exposes the schema dictionary, and the boolean-flag form is
494
+ silently ignored and quietly answers the Justiz shard — the deadliest of the
495
+ three postures, so an exact-case 16-value closed set sits before the wire),
496
+ page size is an upstream constant (20), and beyond the last page the
497
+ upstream answers HTTP 500 rather than an empty page.
498
+ **0.3.46 — company SG data.gov.sg platform pair (+2 faces, 157→159; company 45→47).**
499
+ `sg_datagovsg_datasets` / `sg_datagovsg_dataset_download` read the Singapore
500
+ national open-data platform (api-open.data.gov.sg — the one clean host;
501
+ www.data.gov.sg and api-production answer Cloudflare 403 to non-browser
502
+ agents and are never touched) — the SDK's first SG jurisdiction. The catalog
503
+ honours only `?page=` (q/pageSize/agency are silently ignored — they are
504
+ local filters), beyond the last page answers 200 with empty rows and zeroed
505
+ totals (beyond_range), and the download is a two-step mint whose signed URL
506
+ is a 1-hour S3 signature parsed out of the signature itself; the file body
507
+ rides the batch line (coordinates-only — the ACRA master alone is 234 MB).
508
+ **0.3.45 — company ES BORME daily-gazette pair (+2 faces, 155→157; company 43→45).**
509
+ `es_borme_day` / `es_borme_notice` read Spain's mercantile-registry gazette
510
+ on www.boe.es: one day page plus one notice XML per id, composed by the
511
+ caller into a machine-readable twin. The no-publication day (weekends, gazette
512
+ holidays) is an HTTP 404 declared via a structured `published=false` — never
513
+ an error, never retried — and a future date is refused locally so "not yet
514
+ published" never masquerades as "no issue". The day row's id prefix is the
515
+ only authoritative section marker (A = registered acts, B = «Otros actos»,
516
+ C = legal notices) — the row title cannot be kind-guessed. A-notice bodies
517
+ carry no NIF; joins ride the company name plus the «Datos registrales» sheet
518
+ string.
519
+ ## License and terms
520
+
521
+ - The **code** in this repository is licensed under the license in
522
+ [LICENSE](https://github.com/dicaria/agentdata/blob/main/LICENSE).
523
+ - The **data** returned by the SDK is governed by the terms of each upstream
524
+ source; the SDK grants no data rights. See
525
+ [TERMS.md](https://github.com/dicaria/agentdata/blob/main/TERMS.md).
526
+
527
+ ## Contact
528
+
529
+ - Questions, bug reports, and data-coverage requests:
530
+ [GitHub issues](https://github.com/dicaria/agentdata/issues) or
531
+ **contact@dicaria.com** (see
532
+ [CONTRIBUTING.md](https://github.com/dicaria/agentdata/blob/main/CONTRIBUTING.md))
533
+ - Hosted-corpus credentials: self-serve — sign up at <https://dicaria.com/console> and
534
+ create an API key; service inquiries: **contact@dicaria.com**
535
+ - Security reports: **contact@dicaria.com** — please don't open a public
536
+ issue; see [SECURITY.md](https://github.com/dicaria/agentdata/blob/main/SECURITY.md)
537
+ - Conduct issues: **contact@dicaria.com** (see
538
+ [CODE_OF_CONDUCT.md](https://github.com/dicaria/agentdata/blob/main/CODE_OF_CONDUCT.md))