{"uid":"cap_9RJpw2ORgbgDMRsei6IiO","slug":"one-engine-object-entries-f5ffcad7","name":"ONE Engine Object Entries","description":"Low-cost pay-per-call utility APIs for autonomous agents using x402 on Base.","url":"https://one-search.one-engine.workers.dev/v1/object/entries?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"value":{"type":"object"}}},"responseSchema":{"type":"json","example":{"count":2,"entries":[["a",1],["b",2]]}},"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_ueoSWb8DpgYsKA9TV-UIq","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":"Extracts all key-value entries from a JSON object, returning them as an array of [key, value] pairs with a count.","exampleAgentPrompt":"Can you break down this JSON object into its individual key-value entries for me? The object is {\"name\": \"Alice\", \"age\": 30, \"city\": \"NYC\"}.","exampleUseCases":[{"title":"Inspect API response fields","prompt":"I got back this JSON object from an API and I want to see all its key-value pairs listed out: {\"status\": \"active\", \"plan\": \"pro\", \"credits\": 500, \"region\": \"us-east\"}."},{"title":"Count object properties dynamically","prompt":"How many properties does this config object have, and what are they all? Here it is: {\"timeout\": 30, \"retries\": 3, \"debug\": true, \"endpoint\": \"https://api.example.com\"}."},{"title":"Flatten nested data for processing","prompt":"Can you extract all the top-level entries from this settings object so I can loop over them one by one? The object is {\"theme\": \"dark\", \"language\": \"en\", \"notifications\": false}."}],"resultDescription":"Returns a JSON object with a 'count' field indicating the number of entries, and an 'entries' array where each element is a two-element array [key, value] representing one property of the input object.","failureModes":["Input is not a valid JSON object — may return an error or empty entries","Missing or malformed 'value' field in request body — endpoint may return 0 entries or error","Input contains deeply nested objects — only top-level entries are returned, not recursive","Payment failure via x402 — request blocked if USDC micropayment is not fulfilled"],"whenToPreferThis":"Choose this endpoint when you need a simple, low-cost ($0.001 USDC) utility call to enumerate the key-value entries of a flat JSON object, especially in autonomous agent workflows where programmatic decomposition of dynamic or unknown objects is needed without spinning up custom code execution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-02T12:44:06.753Z","isFirstParty":false,"canonicalSlug":"one-engine-object-entries-f5ffcad7"}