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 for up to 8 ISO3 codes.

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.0

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.0
File Size Uploaded
langchain_econdash-0.1.0.tar.gz 7.9 kB Details

Built distribution (wheel)

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

Total release size: 15.5 kB

Release files / langchain_econdash-0.1.0.tar.gz

Download URL langchain_econdash-0.1.0.tar.gz
Size 7.9 kB
Tags Source
SHA-256 checksum
How to use checksums
0b501d602123dc262778ee576ae22f78b085cf53b21622a94d4c9bb6c6448423
BLAKE2b-256 checksum
How to use checksums
8142edbb0b3c1bc5cf2be57c2903fa04c0fccd8bd92e1c18a47de1ff71ae5bc8
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 11, 2026.

Transparency log

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

Download URL langchain_econdash-0.1.0-py3-none-any.whl
Size 7.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d7ee90cd6ed99f3fb9c4c909fe656dd6e7a104ac32f3abb3dcff9dc58895052a
BLAKE2b-256 checksum
How to use checksums
1c6c167d587752325baaacf6fd4e9aabd24bdaa62c9365d8cdd0133cb3cf59e7
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 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

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