{"uid":"cap_wPy-CZ_Z5GE-UUe2ughLD","slug":"token-swap-csv-category-allowlist-check-c960782d","name":"Token Swap CSV Category Allowlist Check","description":"Token swap imports — Category allowlist check: Category allowlist check for Token swap imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV category allowlist check report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-token-swaps-categories?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"csv":{"type":"string","default":"swap_id,executed_on,pool_address,input_tokens,output_tokens\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3","maxLength":100000,"minLength":1},"maximum":{"type":"number","default":1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"minimum":{"type":"number","default":-1000000000000,"maximum":1000000000000,"minimum":-1000000000000},"delimiter":{"enum":[",",";","\t"],"type":"string","default":","},"max_cell_length":{"type":"integer","default":1000,"maximum":5000,"minimum":1},"allowed_categories":{"type":"array","items":{"type":"string","default":"","maxLength":100,"minLength":1},"default":["group-a","group-b"],"maxItems":100,"minItems":0}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_BT5j3q3N_r-jPEdvVwLGY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a CSV of token swap records by checking that a specified column's values fall within an allowed category list, returning a pass/fail report.","exampleAgentPrompt":"Can you check my token swap CSV against an allowed category list — the file has columns swap_id, executed_on, pool_address, input_tokens, output_tokens and I only want to allow categories group-a and group-b? Use comma as the delimiter.","exampleUseCases":[{"title":"Pre-import swap category compliance check","prompt":"Before I import this token swap data, can you validate the CSV against my approved pool category list? I only allow 'pool-eth', 'pool-btc', and 'pool-stable' as categories — flag any rows that fall outside those."},{"title":"Auditing DeFi swap records for unauthorized pools","prompt":"I've got a CSV export of 800 token swaps and need to audit it to make sure every pool_address value is in my whitelist of approved categories: ['alpha-pool', 'beta-pool', 'gamma-pool']. Can you run the category allowlist check and tell me which rows fail?"},{"title":"Automated gating for swap pipeline ingestion","prompt":"Before we push this swap CSV into our pipeline, run a category allowlist check on it — only 'tier-1' and 'tier-2' categories are permitted, and the file uses semicolons as delimiters. Tell me if everything passes."}],"resultDescription":"A structured report indicating whether each row in the CSV passes or fails the category allowlist check, identifying any cells whose values are not in the supplied allowed_categories list, along with a summary of the overall validation outcome.","failureModes":["CSV exceeds 1000 rows or 100,000 character limit — rejected with size error","Malformed CSV that cannot be parsed — parse error returned","allowed_categories list is empty and all categories fail — returns all rows as violations","Delimiter mismatch causes incorrect parsing — misleading results","Cell values exceed max_cell_length — cells may be truncated or rejected","Numeric values outside min/max bounds cause validation errors"],"whenToPreferThis":"Use this endpoint when you need a lightweight, low-cost ($0.01 USDC) automated check to confirm that categorical columns in a token swap CSV conform to a predefined allowlist, especially before ingesting data into a pipeline or compliance system. Prefer it over general-purpose CSV validators when your use case is specifically token swap records and you need a fast, structured pass/fail report without external enrichment.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:50:26.444Z","isFirstParty":false,"canonicalSlug":"token-swap-csv-category-allowlist-check-c960782d"}