{"uid":"cap_7c-WH96POqz4-aRtAOJo8","slug":"delx-zip-keys-values-37d390d4","name":"Delx Zip Keys Values","description":"Zip key and value lists into an object. Call when you rebuild maps from parallel agent arrays. Returns object and count for $0.001 USDC via x402 on Base. No network, no keys, no retention; first-party local JSON only. Results are advisory; the caller owns budgets, auth, and production controls.","url":"https://api.delx.ai/api/v1/x402/zip-keys-values","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"keys":{"type":"array","description":"Input field: keys."},"values":{"type":"array","description":"Input field: values."}}},"responseSchema":{"type":"json","example":{"count":2,"object":{"a":1,"b":2},"schema":"delx/util-zip-keys-values/v1"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_XqQCBpzftgt8U3Hy6OUhG","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Zips two parallel arrays (keys and values) into a single JSON object, returning the merged object and an entry count.","exampleAgentPrompt":"I have two parallel arrays — keys [\"name\",\"age\",\"city\"] and values [\"Alice\",30,\"Paris\"] — can you zip them together into a single object?","exampleUseCases":[{"title":"Reconstructing agent-split map data","prompt":"My pipeline returned keys [\"userId\",\"role\",\"score\"] and values [\"u_42\",\"admin\",98] as separate arrays — zip them back into one object for me."},{"title":"Building config object from parallel lists","prompt":"I have a config key list [\"timeout\",\"retries\",\"debug\"] and a value list [150,3,true] that came out of separate agent steps — merge them into a single config object."},{"title":"Normalizing spreadsheet columns to row objects","prompt":"I extracted column headers [\"product\",\"price\",\"stock\"] and a data row [\"Widget A\",9.99,42] separately — can you zip them into a key-value object so I can work with it as a normal record?"}],"resultDescription":"Returns a JSON object containing the merged key-value object (where each key from the keys array is paired with the corresponding value from the values array) and an integer count of how many entries were created.","failureModes":["Mismatched array lengths may produce an object with missing values or an error response","Non-string keys may be rejected or coerced","Empty arrays return an empty object with count 0","Duplicate keys in the keys array will result in later values overwriting earlier ones","Payment failure (402) if USDC balance is insufficient"],"whenToPreferThis":"Use this endpoint when an agent pipeline has produced keys and values as separate parallel arrays and needs to reconstruct a proper key-value map without writing custom code. It is ideal for stateless, local JSON transformation with no network dependencies, no data retention, and a predictable $0.001 cost per call.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T07:14:47.414Z","isFirstParty":false}