Skip to main content

langchain-econdash

LangChain tools for EconDash. They call the econdash client, so they follow the same access rules. They do not open a free back door to the archive.

pip install langchain-econdash

Releases are tags langchain-vX.Y.Z on econdash-python (the X.Y.Z matches this package's version). A v* tag publishes the econdash client, not this package.

from langchain_econdash import EconDashToolkit

tools = EconDashToolkit().get_tools()          # free trial
# tools = EconDashToolkit(api_key="ed_...").get_tools()
# from eth_account import Account
# tools = EconDashToolkit(
#     x402_signer=Account.from_key("0x..."), max_usd_per_call=0.05
# ).get_tools()
Tool What the model gets
econdash_search_indicators Slug, name, unit, source, frequency. No numbers.
econdash_get_series One country. Last 20 points, unit, freshness, a citation and the chart link. full=true for the whole reply.
econdash_get_metadata Description, source, licence, freshness, a sample of countries.
econdash_compare_countries Latest point and chart link for 1–8 ISO3 codes, each fetched on its own.

What is free

Without a key and without a wallet the tools only receive the free trial: 10 countries (USA, CHN, DEU, JPN, GBR, FRA, IND, BRA, RUS, KOR), 50 indicators, 300 requests a day and 30 a minute per IP.

A country or indicator outside that trial makes the API answer 402. The tool turns that into a sentence for the model (Set ECONDASH_API_KEY or enable x402/MPP) and does not include the figures. Nothing is charged.

The indicator catalog (names and slugs) is metadata and is readable inside the trial quota. The time series is not.

How to pay

  • API key from an EconDash subscription (api_key= or ECONDASH_API_KEY): full archive, no per-call charge, 10,000 requests a month.
  • Wallet: pass x402_signer (Base), tempo_account (Tempo) or solana_keypair (Solana) and max_usd_per_call. The client pays one call only when the price is within that cap. If you omit the cap, it refuses to sign. Several wallets are tried in that order.

A wallet on the toolkit means an agent can spend on every series outside the trial, up to the cap. Leave the wallet off unless that is what you want.

Metadata

Release files for langchain-econdash 0.1.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langchain-econdash 0.1.2
File Size Uploaded Provenance Actions
langchain_econdash-0.1.2.tar.gz 9.4 kB With provenance Details for langchain_econdash-0.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for langchain-econdash 0.1.2
File Interpreter ABI Platform Actions
langchain_econdash-0.1.2-py3-none-any.whl Python 3 none any Details for langchain_econdash-0.1.2-py3-none-any.whl

Total release size: 17.9 kB

Release files / langchain_econdash-0.1.2.tar.gz

Download URL langchain_econdash-0.1.2.tar.gz
Size 9.4 kB
Tags Source
SHA-256 checksum
How to use checksums
59bd1b47462897c17a50ce6f45cbb71eb833e6380f549b52f552c45b3ec8c8e6
BLAKE2b-256 checksum
How to use checksums
1fa9e576b81b73a37ed6a152bb1a859be41da1458820145b44ce4081313c275d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Release files / langchain_econdash-0.1.2-py3-none-any.whl

Download URL langchain_econdash-0.1.2-py3-none-any.whl
Size 8.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0b4e8799a77531303c7ec0e99d50658863b3bf8bf73a5022b957d127782e301c
BLAKE2b-256 checksum
How to use checksums
3c301b3b783067904855ffa0c2840777f89e77900dcbc04a55b35a53f2836ef3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

Security for langchain-econdash 0.1.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for langchain_econdash-0.1.2.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 12, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page