agentfuel402
# โก AgentFuel402 โ Consumable B2B, E-Commerce & Developer Data Factory
[](https://agentfuel402.ak10082247.workers.dev/health)
[](https://agentfuel402.ak10082247.workers.dev/.well-known/x402.json)
[](https://apify.com/kuroxreal)
[](https://agentfuel402.ak10082247.workers.dev/mcp)
[](LICENSE)
> **High-frequency, non-cacheable consumable data feeds for autonomous AI agents, sales outreach automation (Clay, n8n, Make.com), e-commerce intelligence, and developer LLM workflows.**
AgentFuel402 delivers enterprise consumable data across 3 distinct distribution rails:
1. **Apify Store:** Micro-fiat Pay-Per-Event (PPE) with zero monthly fees.
2. **Cloudflare Edge x402:** Dual-chain machine-to-machine micropayments (Base & Solana USDC).
3. **Official MCP Registry:** Streamable HTTP Model Context Protocol tools for Claude Desktop, Cursor, and LangChain.
---
## ๐ก๏ธ "Verify -> Fetch -> Settle" Resilience Guarantee
AgentFuel402 guarantees that **buyers are never charged for dead links or upstream failures**:
1. When a paid request arrives, the cryptographic authorization or Pay-Per-Event token is **pre-verified** (`/verify`).
2. The target content engine executes live data extraction with multi-tier anti-bot fallbacks.
3. If an upstream target returns HTTP 404, empty content, or fails to respond, the engine immediately halts and returns `HTTP 422 Unprocessable Entity` with `charged: false`.
4. On-chain settlement (`/settle`) or PPE charging (`Actor.charge`) occurs **ONLY AFTER** valid, non-empty data is confirmed.
---
## ๐ Live Endpoints & Pricing Matrix
| Feed Endpoint | Price Tier (x402 USDC) | Apify PPE Event | Primary Use Case |
| :--- | :---: | :---: | :--- |
| **`/v1/fuel/b2b-intent-leads`** | **`$0.010 USDC`** | **`$0.030 USD`** (`lead-signal-fetch`) | Aggregates early-stage tech company product launches, founder discussion threads, hiring alerts, and tech stacks with Intent Scores (30โ100). |
| **`/v1/fuel/llm-clean-markdown`** | **`$0.005 USDC`** | **`$0.015 USD`** (`clean-markdown-fetch`) | Strips noisy JavaScript, ads, and navigation; normalizes HTML to clean Markdown; enforces SSRF protection and deterministic prompt-injection defense. |
| **`/v1/fuel/ecom-price-stock`** | **`$0.005 USDC`** | **`$0.015 USD`** (`ecom-product-check`) | Real-time price, currency, SKU variants, discount deltas, and in-stock inventory monitoring for Shopify & Schema.org products. |
| **`/v1/fuel/sdk-live-spec`** | **`$0.005 USDC`** | **`$0.010 USD`** (`sdk-spec-check`) | Verified PyPI & npm metadata, latest stable SemVer releases, deprecation notices, and breaking-change alerts for AI code generators. |
| **`/v1/fuel/reverse-engineer`** | **`$0.020 USDC`** | **`$0.050 USD`** (`reverse-engineer-target`) | **Reverse Engineer Anything (REA):** Deep reverse-engineering of target web platforms: extracts hidden internal REST/GraphQL endpoints, hydration state (`__NEXT_DATA__`, Redux, JSON-LD), auto-generates OpenAPI 3.1 spec and zero-scrape Python/cURL bypass code. |
---
## ๐ค Official MCP Registry Integration
AgentFuel402 is registered in the official Model Context Protocol Registry as **`io.github.ak10082247-max/agentfuel402`**.
### Cursor & Claude Desktop Config (`claude_desktop_config.json`)
```json
{
"mcpServers": {
"agentfuel402": {
"url": "https://agentfuel402.ak10082247.workers.dev/mcp",
"transport": "http"
}
}
}
```
### Run Locally from Source (`stdio` or Docker HTTP MCP)
```bash
pip install -r requirements.txt
python entrypoint.py --mcp-stdio
```
Or configure `claude_desktop_config.json` with `"command": "python", "args": ["entrypoint.py", "--mcp-stdio"]`, or run via [`Dockerfile`](Dockerfile) on port `8080` (`POST /mcp`).
### Supported MCP Tools
- `fuel_b2b_leads`: `{ "limit": 10, "category": "all" }`
- `fuel_clean_markdown`: `{ "url": "https://news.ycombinator.com", "strip_images": false }`
- `fuel_ecom_price_stock`: `{ "url": "https://shop.allbirds.com/products/mens-tree-runners" }`
- `fuel_sdk_spec`: `{ "package": "fastapi", "ecosystem": "pypi" }`
- `fuel_reverse_engineer`: `{ "url": "https://sample-store.com/catalog" }`
---
## ๐ Reverse Engineer Anything (REA) Engine
Inspired by developer reverse-engineering workflows (such as `morluto/rea`), the **AgentFuel402 REA Engine** provides cloud-hosted, zero-installation reverse engineering for arbitrary web applications:
1. **Hydration Unmasking:** Extracts `__NEXT_DATA__`, Nuxt state, Redux stores, and Schema.org JSON-LD before DOM rendering.
2. **Hidden API Discovery:** Unmasks unannounced internal `/api/v[0-9]/` and `/graphql` routes from frontend JavaScript bundles.
3. **OpenAPI 3.1.0 Synthesis:** Automatically generates formal OpenAPI specs with paths, parameters, and payload schemas.
4. **Zero-Scrape Client Code:** Produces instant copy-pasteable Python (`httpx`), TypeScript (`fetch`), and `cURL` code targeting the backend directlyโbypassing anti-bot blocks and fragile HTML scraping.
---
## ๐ ๏ธ Multi-Chain Micropayment Rails (x402 V2)
All paid routes support HTTP `402 Payment Required` with gasless facilitators:
- **Base Mainnet (`eip155:8453`)**: Circle USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913` via EIP-712 `TransferWithAuthorization` to Merchant `0x80E0Ae84679b7f11bE171DaADd492FBECf628cd6`.
- **Solana Mainnet (`solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp`)**: SPL USDC `EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v` to Merchant ATA `DD3A7jaXFeHcif9eYj6Vhomuxypat5Yxi8ow6wxz27yL` (sponsored by PayAI `feePayer`).
### ๐๏ธ Agency Pass Prepay ($5.00 USD)
Call `POST /v1/pass/prepay` with $5.00 USDC to activate an `X-Fuel-Session` session token valid for **1,000 cross-feed calls** with zero per-request transaction signing.
---
## ๐ฆ Apify Pay-Per-Event (PPE) Store Actors
1. [**B2B Intent Leads (`kuroxreal/b2b-intent-leads-ppe`)**](https://apify.com/kuroxreal/b2b-intent-leads-ppe): High-frequency buying intent signals for Clay, n8n & AI SDRs.
2. [**LLM Clean Markdown (`kuroxreal/llm-clean-markdown-ppe`)**](https://apify.com/kuroxreal/llm-clean-markdown-ppe): Token-optimized, ad-free web content extractor with prompt injection defense.
3. [**E-Commerce Price & Stock (`kuroxreal/ecom-price-stock-ppe`)**](https://apify.com/kuroxreal/ecom-price-stock-ppe): Real-time Shopify & Schema.org price, variant, and stock monitor.
4. [**Pulse402 Oracle (`kuroxreal/pulse402-oracle`)**](https://apify.com/kuroxreal/pulse402-oracle): High-frequency Base DEX liquidity & Polymarket odds alpha.
---
## ๐ License
MIT License. Built for autonomous AI agents and modern data automation pipelines.
TDQS
Scored across 5 tools
Each tool targets a clearly distinct data need: B2B leads, clean Markdown extraction, e-commerce price/stock, package registry metadata, and reverse engineering. The two URL-fetching tools (fuel_clean_markdown and fuel_reverse_engineer) could overlap superficially, but their outputs and use cases are explicitly differentiated.
All tools consistently use the fuel_ prefix and snake_case, which makes the set easy to scan. The only minor inconsistency is that some names are noun phrases (fuel_b2b_leads, fuel_sdk_spec) while others are verb phrases (fuel_clean_markdown, fuel_reverse_engineer).
Five tools is well-scoped for a focused paid data-extraction API. Each tool covers a distinct capability without obvious redundancy or padding.
The set covers a solid range of web data tasks: lead discovery, content cleaning, e-commerce extraction, package metadata, and endpoint reverse engineering. There are minor gaps such as generic structured extraction or batch operations, but the core lifecycle for the stated purpose is covered.