{"uid":"cap_U97_ew4jk3JzQABKQdI-L","slug":"delx-commerce-zip-keys-and-values-into-object-c61422b3","name":"Delx Commerce — Zip Keys and Values into Object","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/zip-keys-values?utm_source=zero.xyz","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_QjrUaza8TaIWqqX1N7ZVE","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":"Combines two parallel arrays (keys and values) into a single key-value object, returning the merged result.","exampleAgentPrompt":"I have two arrays — keys: [\"a\", \"b\"] and values: [1, 2] — can you zip them together into a single key-value object?","exampleUseCases":[{"title":"Build config object from separate lists","prompt":"I have a list of config keys like [\"host\", \"port\", \"timeout\"] and their corresponding values [\"localhost\", 8080, 30] — can you zip them into a single config object for me?"},{"title":"Reconstruct API response fields","prompt":"I got back two arrays from a data pipeline: fields are [\"name\", \"email\", \"age\"] and values are [\"Alice\", \"alice@example.com\", 28] — please combine them into one object."},{"title":"Merge spreadsheet columns into records","prompt":"I extracted column headers [\"product\", \"price\", \"stock\"] and row values [\"Widget\", 9.99, 150] from a spreadsheet — zip them into a key-value object so I can process the record."}],"resultDescription":"Returns a JSON object with three fields: 'count' (the number of key-value pairs), 'object' (the resulting merged key-value dictionary), and 'schema' (a schema identifier string 'delx/util-zip-keys-values/v1').","failureModes":["Mismatched array lengths between keys and values may result in partial or error output","Non-string keys may cause unexpected behavior or errors","Empty arrays may return a count of 0 and an empty object","Payment failure via x402 protocol will block the call from completing"],"whenToPreferThis":"Use this endpoint when you have two parallel arrays (one of keys, one of values) and need a quick, cheap, verifiable conversion to a key-value object without writing code or spinning up your own utility. Especially useful inside agent workflows where you need a pay-per-result micro-utility with no signup overhead and USDC-based micropayments on Base or Solana.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:53:39.730Z","isFirstParty":false,"canonicalSlug":"delx-commerce-zip-keys-and-values-into-object-c61422b3"}