{"uid":"cap_xKJRK_0BczOOQKIxLj0I6","slug":"token-swap-imports-declared-column-projection-e7660137","name":"Token Swap Imports — Declared Column Projection","description":"Token swap imports — Declared column projection: Declared column projection 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 declared column projection report.","url":"https://market.datapackvibe.com/x402/assistant-bx-csv-token-swaps-projection?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_d2YwtE9O2g7MbQfwnUQHV","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 file of token swap records against a declared column schema contract, returning a column projection report for up to 1000 rows.","exampleAgentPrompt":"Can you validate this token swap CSV to make sure the columns match the declared contract — it uses commas as delimiters, swap_id, executed_on, pool_address, input_tokens, and output_tokens columns, with allowed pool categories group-a and group-b, and token values between 0 and 1000000?","exampleUseCases":[{"title":"Pre-import swap data validation","prompt":"Before I import this CSV of token swaps into our system, can you check that all the columns match the declared schema — swap_id, executed_on, pool_address, input_tokens, output_tokens — using comma as the delimiter, and only allowing pool categories group-a and group-b?"},{"title":"DeFi reconciliation data quality check","prompt":"I have a tab-separated CSV of Uniswap swap records I need to validate against our declared column contract before reconciliation. Can you run the column projection check on it, with minimum token value of 0 and maximum of 500000?"},{"title":"Automated swap pipeline schema enforcement","prompt":"Every hour our pipeline drops a CSV of new token swap imports — can you validate the declared columns each time to catch any schema violations early, using semicolons as the delimiter and rejecting cells longer than 200 characters?"}],"resultDescription":"Returns a declared column projection report indicating whether the CSV conforms to the expected token swap schema contract, including column presence and validity for up to 1000 rows, with details on any violations found in the parsed cells.","failureModes":["CSV exceeds 1000 rows — only first 1000 processed","CSV string exceeds 100000 character limit — request rejected","Invalid delimiter value provided — must be comma, semicolon, or tab","Cell content exceeds max_cell_length — flagged as violation","allowed_categories list exceeds 100 items — request rejected","Numeric values outside min/max bounds — validation failure reported","Malformed CSV with unclosed quotes — parse error returned"],"whenToPreferThis":"Use this endpoint when you need to enforce a declared CSV column contract for token swap import data specifically, and want lightweight schema validation (not enrichment or transformation) up to 1000 rows. It is ideal for pre-import quality gates in DeFi data pipelines where pool categories and numeric token value bounds need to be validated cheaply at $0.01 per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-12T00:53:00.124Z","isFirstParty":false,"canonicalSlug":"token-swap-imports-declared-column-projection-e7660137"}