{"uid":"cap_x3GHyID0HZJIYOi_7Ba3P","slug":"cortexcloud-automation-transform-58123b28","name":"CortexCloud Automation Transform","description":"One pay-per-call API for AI agents: optimization, AI, research, on-chain data, and automation — all settled in USDC on Base via x402. Discover via MCP and Bazaar, estimate free, pay per call. No API keys, no signup.","url":"https://api.cortexcloud.org/v1/automation/transform","method":"GET","headers":{},"bodySchema":{"type":"object","properties":{"data":{},"rules":{"type":"object"},"idempotency_key":{"type":"string"}}},"responseSchema":{"type":"object","format":"application/json","example":{}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.004","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.004/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.004","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Bvj3rj3UNZeYLlUrLOWjR","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.004","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Applies user-defined transformation rules to arbitrary data, returning a structured result settled via x402 micropayment in USDC on Base.","exampleAgentPrompt":"Take this JSON object — {name: 'Acme Corp', revenue: '1200000', currency: 'USD'} — and apply these rules to normalize it: convert revenue to a number, add a 'tier' field based on revenue thresholds (under 500k = 'SMB', 500k–5M = 'Mid-Market', over 5M = 'Enterprise'), and return the cleaned result.","exampleUseCases":[{"title":"Normalize customer record fields","prompt":"I have a raw customer record with messy fields — mix of strings and numbers, inconsistent naming. Apply these normalization rules to clean it up: cast revenue to integer, lowercase all email fields, and rename 'addr' to 'address'."},{"title":"Apply pricing tier logic to product data","prompt":"Here's a list of product objects with a 'cost' field. Apply these tier rules: if cost < 10 label it 'budget', 10–50 label 'standard', over 50 label 'premium', and return the updated objects."},{"title":"Reformat event payload for downstream system","prompt":"I have an incoming webhook payload from Stripe and need to reshape it to match our internal schema — apply these field-mapping rules to remap 'amount_received' to 'payment_amount', 'customer' to 'customer_id', and drop any null fields."}],"resultDescription":"A JSON object containing the result of applying the specified transformation rules to the input data. The exact structure mirrors the rules and input shape provided; the example response schema is empty, so output shape is fully dynamic and rule-driven.","failureModes":["Invalid or malformed rules object returns a 4xx error","Missing required 'data' field causes rejection","Ambiguous rule definitions may produce unexpected or incomplete transformations","Payment failure via x402 (insufficient USDC balance) blocks the call","Non-idempotent external side effects from rules may cause issues if idempotency_key is reused incorrectly"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call rule-based data transformation step with no API key setup, particularly in agent workflows that already use x402 micropayments on Base. It is well-suited for ad-hoc transformations where the rules change per call and you want to avoid spinning up a dedicated ETL pipeline. Prefer alternatives if you need deterministic schema validation (use a validation endpoint), AI-generated transformations (use an LLM endpoint), or high-volume batch processing with SLA guarantees.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:34:23.782Z","isFirstParty":false}