- ✓Actively maintained (<30d)
- ✓Documented (README)
- !No standard license detected
- !No description
git clone https://github.com/ihen404/langchain-x402 && cp langchain-x402/*.md ~/.claude/agents/Resumen de Subagents
## 🌐 Social & Ecosystem Showcase
> **Autonomous HTTP 402 Web Scraping Mesh on Base**
> Enables AI agents to pay $0.02 USDC per request for clean, LLM-ready markdown using machine-to-machine micro-settlements.
### ⚡ Quick Links
* **NPM Package:** [`@ihentrel/x402-express`](https://www.npmjs.com/package/@ihentrel/x402-express)
* **Agent Discovery (MCP):** `https://your-domain.com/mcp.json`
* **OpenAPI Specs:** `https://your-domain.com/openapi.json`
### 📢 Share & Connect
Building with autonomous agents or `@base`? Tag us on X/socials when integrating:
- **X (Twitter):** Mention `@base` and `@CoinbaseDev` with `#BuildOnBase #AI #x402`
- **Supported Frameworks:** LangChain, AutoGen, CrewAI, and MCP-compatible clients.
# ihen404-x402-langchain
LangChain integration tool for **HTTP 402 Paywalled Web Scraping** powered by Base USDC micro-payments.
Designed specifically for **Autonomous AI Agents**, trading bots, and market research agents that require programmatic, pay-per-request web access without credit cards or monthly API subscriptions.
---
## Features
- **Native LangChain Tool Integration:** Drop-in `X402WebScraperTool` for LangChain, LangGraph, and CrewAI agents.
- **Automated HTTP 402 Settlement:** Automatically handles $0.005 Base USDC micro-payment challenges via `X-Payment` headers.
- **Zero Friction for AI Agents:** Autonomous agents sign and settle transactions directly on Base L2 in milliseconds.
---
## Installation
```bash
pip install ihen404-x402-langchain
```
---
## Quickstart
```python
import os
from langchain_x402 import X402WebScraperTool
from langchain.agents import initialize_agent, AgentType
from langchain_openai import ChatOpenAI
# Initialize the 402-capable web scraper tool
scraper_tool = X402WebScraperTool(
wallet_private_key=os.getenv("BASE_WALLET_PRIVATE_KEY"),
rpc_url="[https://mainnet.base.org](https://mainnet.base.org)",
max_price_per_scrape="0.005" # Max USDC spend per request
)
llm = ChatOpenAI(model="gpt-4o", temperature=0)
agent = initialize_agent(
tools=[scraper_tool],
llm=llm,
agent=AgentType.ZERO_SHOT_REACT_DESCRIPTION,
verbose=True
)
# Agent autonomously handles HTTP 402 payment challenge if paywalled
response = agent.run("Fetch data from [https://api.x402service.com/scrape?url=https://example.com](https://api.x402service.com/scrape?url=https://example.com)")
print(response)
```
---
## Pricing Structure
| Action | Cost | Settlement Network |
| :--- | :--- | :--- |
| Standard Web Scrape | **$0.005 USDC** | Base (L2) |
| Failed Request | **$0.000 USDC** | N/A |
---
## License
MIT License. Developed by [@ihen404](https://github.com/ihen404).
## 🌐 Social & Ecosystem Showcase
> **Autonomous HTTP 402 Web Scraping Mesh on Base**
> Enables AI agents to pay $0.02 USDC per request for clean, LLM-ready markdown using machine-to-machine micro-settlements.
### ⚡ Quick Links
* **NPM Package:** [`@ihentrel/x402-express`](https://www.npmjs.com/package/@ihentrel/x402-express)
* **Agent Discovery (MCP):** `https://your-domain.com/mcp.json`
* **OpenAPI Specs:** `https://your-domain.com/openapi.json`
### 📢 Share & Connect
Building with autonomous agents or `@base`? Tag us on X/socials when integrating:
- **X (Twitter):** Mention `@base` and `@CoinbaseDev` with `#BuildOnBase #AI #x402`
- **Supported Frameworks:** LangChain, AutoGen, CrewAI, and MCP-compatible clients.
Lo que la gente pregunta sobre langchain-x402
¿Qué es ihen404/langchain-x402?
+
ihen404/langchain-x402 es subagents para el ecosistema de Claude AI con 0 estrellas en GitHub.
¿Cómo se instala langchain-x402?
+
Puedes instalar langchain-x402 clonando el repositorio (https://github.com/ihen404/langchain-x402) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar ihen404/langchain-x402?
+
Nuestro agente de seguridad ha analizado ihen404/langchain-x402 y le ha asignado un Trust Score de 52/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene ihen404/langchain-x402?
+
ihen404/langchain-x402 es mantenido por ihen404. La última actividad registrada en GitHub es del 2026-09-18, con 0 issues abiertos.
¿Hay alternativas a langchain-x402?
+
Sí. En ClaudeWave puedes explorar subagents similares en /categories/agents, ordenados por popularidad o actividad reciente.
Despliega langchain-x402 en tu cloud
Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.
¿Mantienes este repo? Añade un badge a tu README
Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.
[](https://claudewave.com/repo/ihen404-langchain-x402)<a href="https://claudewave.com/repo/ihen404-langchain-x402"><img src="https://claudewave.com/api/badge/ihen404-langchain-x402" alt="Featured on ClaudeWave: ihen404/langchain-x402" width="320" height="64" /></a>Más Subagents
The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.
The agent that grows with you
Java 面试 & 后端通用面试指南,覆盖计算机基础、数据库、分布式、高并发、系统设计与 AI 应用开发
Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
The agent engineering platform.
Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.