langchain-x402serps
LangChain tools for x402serps, a third-party search provider.
Search is $0.004 per 10 results. Extract is $0.003 per URL. A 25-call trial is available; MCP includes 20 free calls per day.
Install
pip install langchain-x402serps
Quickstart
from langchain_x402serps import x402serps_tools
tools = x402serps_tools(trial=True)
# or: x402serps_tools(api_key="xs_...")
# or: x402serps_tools(client=X402Serps(api_key="xs_..."))
Tools: x402serps_search, x402serps_news, x402serps_places, x402serps_extract.
from langchain_openai import ChatOpenAI
from langchain_x402serps import x402serps_tools
llm = ChatOpenAI(model="gpt-4o-mini").bind_tools(x402serps_tools(trial=True))
msg = llm.invoke("Find recent coverage of the x402 payment protocol")
print(msg)
For x402 USDC payments, build a paying client as shown in the x402serps README and pass it as client= (synchronous paying sessions; the async httpx wrapper is covered in the core package).
Metadata
Release files for langchain-x402serps 1.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| langchain_x402serps-1.0.0.tar.gz | 2.5 kB | Without provenance | Details for langchain_x402serps-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| langchain_x402serps-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for langchain_x402serps-1.0.0-py3-none-any.whl |
Total release size: 5.9 kB
Release files / langchain_x402serps-1.0.0.tar.gz
| Download URL | langchain_x402serps-1.0.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
135d0d6c7b63a5209c25110d364884e8f664a1927206ea82cbb9079eca1609a1
|
|
BLAKE2b-256 checksum How to use checksums |
daee0f6fd17dadb9896dcc6b476b9d693e6676a76ef182f65231465eff57c5c8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / langchain_x402serps-1.0.0-py3-none-any.whl
| Download URL | langchain_x402serps-1.0.0-py3-none-any.whl |
|---|---|
| Size | 3.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1a1443f30a5e10b69c601fa4df002d1e0d22158b4cd23681fb3d100b8126364
|
|
BLAKE2b-256 checksum How to use checksums |
a88063b0694a57f6f52879849942012f31d189b0d917d6a388866f440170ce26
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for langchain-x402serps 1.0.0
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.