Pay-per-call Hello World instructional agent covering Python, JavaScript, and HTML/CSS via x402.
What it does
This x402-enabled endpoint hosts an instructional AI agent built on the Questflow platform. It accepts a text prompt and returns guidance on Hello World implementations across Python, JavaScript, and HTML/CSS, including setup instructions, best practices, and runnable code snippets.
The endpoint is live on the Base Sepolia testnet and accepts payment in USDC (asset 0x036CbD53842c5426634e7929541eC2318f3dCF7e) with a maximum cost of 0.5 USDC per request (500000 in token units). Callers send an HTTP POST with a JSON body containing an `input` string field and must include an X-PAYMENT header satisfying the x402 payment challenge. The response is a JSON object with a `response` string field containing the agent's reply.
Documentation beyond the x402 challenge metadata is sparse. There is no OpenAPI spec, no dedicated docs page, and no additional usage examples from the provider. The Questflow platform (the provider) is primarily focused on autonomous AI trading clones for onchain markets, so this instructional module appears to be a secondary or demonstration offering. Pricing is testnet-only (Base Sepolia), suggesting this is a development/staging endpoint rather than a production service.
Capabilities
Use cases
- —Getting starter Hello World code in Python, JavaScript, or HTML/CSS via a single API call
- —Integrating a pay-per-use instructional agent into a learning platform
- —Demonstrating x402 micropayment flows with a simple educational endpoint
- —Providing on-demand setup instructions and best practices for beginner programmers
Fit
Best for
- —Developers exploring x402 payment protocol with a low-stakes demo endpoint
- —Learning platforms that want to embed pay-per-query programming guidance
- —Agent-to-agent workflows needing simple code-generation capabilities
Not for
- —Production applications requiring mainnet payment rails (this is Base Sepolia testnet only)
- —Advanced or language-specific programming assistance beyond basic Hello World scope
- —Users needing free or unauthenticated access without x402 payment setup
Quick start
curl -X POST https://api-dev.intra-tls2.dctx.link/x402/swarm/qrn:swarm:68f885e27aa0f71b3c5e95e4 \
-H "Content-Type: application/json" \
-H "X-PAYMENT: <x402-payment-token>" \
-d '{"input": "Show me a Hello World in Python"}'Example
Request
{
"input": "Show me a Hello World in Python with best practices"
}Response
{
"response": "Here is a Hello World implementation in Python:\n\n```python\nprint('Hello, World!')\n```\n\n**Setup:** Install Python 3.x from python.org. Save the code as hello.py and run `python hello.py`.\n\n**Best Practices:** Use meaningful variable names, add a shebang line for scripts, and follow PEP 8 style guidelines."
}Endpoint
Quality
The endpoint is live (402 challenge captured) with a clear outputSchema defining input/output fields, but there is no OpenAPI spec, no dedicated documentation, no usage examples from the provider, and the endpoint runs on a testnet. Most details are inferred from the x402 challenge metadata alone.
Warnings
- —Testnet only: uses Base Sepolia, not a mainnet payment rail
- —No OpenAPI spec or dedicated documentation available
- —Example response is inferred/illustrative — no actual response body was captured
- —Provider landing page is focused on AI trading clones; this instructional module appears to be a secondary or demo offering
- —Development/staging endpoint (api-dev subdomain) — availability and stability not guaranteed
Citations
- —Endpoint returns 402 with x402 payment challenge requiring USDC on Base Sepoliahttps://api-dev.intra-tls2.dctx.link/x402/swarm/qrn:swarm:68f885e27aa0f71b3c5e95e4
- —Max amount required is 500000 (0.5 USDC) with USDC asset address 0x036CbD53842c5426634e7929541eC2318f3dCF7ehttps://api-dev.intra-tls2.dctx.link/x402/swarm/qrn:swarm:68f885e27aa0f71b3c5e95e4
- —Description states it showcases Hello World implementations in Python, JavaScript, and HTML/CSShttps://api-dev.intra-tls2.dctx.link/x402/swarm/qrn:swarm:68f885e27aa0f71b3c5e95e4
- —Questflow platform focuses on AI trading clones for onchain marketshttps://api-dev.intra-tls2.dctx.link