APIs
x402 Helper API
Enrich existing data records by appending related information from external knowledge, paid per request via USDC micropayment.
API Url
https://x402helper.xyzEndpoints22/22 healthy
POSTData enrichment
/ data_ enrichment$0.01onlyUSDCEnrich existing data records by appending related information from external knowledge, paid per request via USDC micropayment.
POSTData enrich execute
/ services/ data_ enrich/ executeFreeGETEnrich
/ v1/ enrich$0.01300onlyUSDCPOSTPaid
/ api/ v1/ enrich/ paid$0.01onlyUSDCGETEnrich
/ api/ minerva/ enrich$0.01300onlyUSDCPOSTNl to data enrichment
/ nl_ to_ data_ enrichment$0.01onlyUSDCGETV1 companies enrich
/ crustdata/ v1/ companies/ enrich$0.01300onlyUSDCGETV1 people enrich
/ crustdata/ v1/ people/ enrich$0.01300onlyUSDCPOSTSolutions lead enrich
/ x402/ solutions/ lead- enrich$0.01onlyUSDCGETCompany enrich
/ x402/ company- enrich$0.06500onlyUSDCGETLead enricher v1
/ api/ skills/ lead- enricher- v1$0.01300onlyUSDCPOSTEnrich wallet full invoke
/ entrypoints/ enrich- wallet- full/ invoke$0.01onlyUSDCPOSTEnrich token full invoke
/ entrypoints/ enrich- token- full/ invoke$0.01onlyUSDCPOSTBatch enrich invoke
/ entrypoints/ batch- enrich/ invoke$0.01onlyUSDCPOSTData insights
/ data_ insights$0.01onlyUSDCPOSTData augmentation
/ data_ augmentation$0.01onlyUSDCPOSTData integration
/ data_ integration$0.01onlyUSDCPOSTData profiling
/ data_ profiling$0.01onlyUSDCPOSTData cleaning
/ data_ cleaning$0.01onlyUSDCPOSTAi oracle
/ v1/ tools/ ai- oracle$0.01onlyUSDCGETAi assistant
/ v1/ ai- assistant$0.11onlyUSDCGETSearch
/ v1/ tron/ search$0.01300onlyUSDCIntegration
Try it with FluxA AgentCopy this prompt and paste it into your AI agent (like Claude or GPT). It pays each call in USDC with the FluxA Wallet (x402).
Agent Instructions
** Your task ** Call the native x402 API at: https://x402helper.xyz ** Payment method ** This endpoint is hosted outside FluxA and is called directly, not through the FluxA proxy. It settles on-chain in USDC via x402. A FluxA API key and balance cannot pay for it; pay each call in USDC. Follow the steps below in order. ** Step 1 - Install FluxA Wallet CLI ** npm install -g @fluxa-pay/fluxa-wallet Or use without installing: npx fluxa-wallet <command> ** Step 2 - Register agent ** fluxa-wallet init --name "<YOUR_AGENT_NAME>" --client "<YOUR_CLIENT>" The response may include an authorization URL. Present the user with options: [Yes, open the link] [No, don't open]. If YES: run 'open "<URL>"' to open in their browser. Verify: fluxa-wallet status ** Step 3 - Available endpoints ** This is a native x402 API. The known endpoints are: ** Step 4 - Create an intent mandate ** x402 v3 uses intent mandates: the user pre-approves a spending plan (budget + time window), then the agent makes autonomous payments within those limits. Payment is in on-chain USDC. Amounts are in atomic units (6 decimals, e.g., 100000 = 0.10 USDC). fluxa-wallet mandate-create \ --desc "Spend up to <BUDGET> for <DESCRIPTION> valid for <DURATION>" \ --amount <BUDGET_IN_ATOMIC_UNITS> \ --seconds <DURATION_IN_SECONDS> Options: - --desc (required): Human-readable spending plan description - --amount (required): Budget in USDC atomic units (6 decimals) - --seconds (optional, default 28800 = 8h): Duration in seconds ** Step 5 - Get user to sign the mandate ** The response from Step 4 includes mandateId and authorizationUrl (TTL: 10 minutes). Present the user with options: [Yes, open the link] [No, don't open]. If YES: run 'open "<authorizationUrl>"' to open in their browser. ** Step 6 - Wait for mandate to be signed ** fluxa-wallet mandate-status --id <MANDATE_ID> Poll until mandate.status is "signed". The response also includes remainingAmount. Important: Use --id, not --mandate. ** Step 7 - Call the API ** Make the API request to the endpoint URL. If it returns HTTP 402, continue to Step 8. ** Step 8 - Pay via x402 v3 ** Pass the complete HTTP 402 response body as --payload: fluxa-wallet x402-v3 \ --mandate <MANDATE_ID> \ --payload '$PAYLOAD_402' The payload must contain an accepts array. Do NOT extract individual fields - pass the entire 402 response JSON. The response includes xPaymentB64 (the payment token). ** Step 9 - Retry with payment token ** curl -H "Payment-Signature: <xPaymentB64>" <ORIGINAL_API_URL> Return the raw API response to the user without post-processing. ** Opening links for user ** Whenever you need to open a URL (authorization, approval, or any external link): 1. Present the user with a choice using your interactive options/menu capability (e.g., AskUserQuestion tool) 2. Options: [Yes, open the link] [No, don't open] 3. If YES: run 'open "<URL>"' to open in their default browser 4. If NO: ask how they would like to proceed ** Error handling ** - mandate_not_signed: User hasn't signed yet - ask them to open authorizationUrl - mandate_expired: Time window passed - create a new mandate - mandate_budget_exceeded: Budget too low - create a new mandate with a higher limit - agent_not_registered: No Agent ID - run 'fluxa-wallet init' first - Invalid payload: missing accepts array: Pass the full 402 response JSON
