{"uid":"cap_kNG5PIg_EmQFkYqcOd2K2","slug":"kihustle-json-linear-interpolation-cf28b99b","name":"KiHustle JSON Linear Interpolation","description":"Kostenlose Guides, Solo-Playbooks und Artikel zu KI, Automation und Side Hustles — für Menschen, die mit echten Systemen online Einkommen aufbauen wollen. Transparent finanziert über faire Affiliate-Links.","url":"https://kihustle.tech/nexus/api/v1/json-linear-interpolation?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"values":{"type":"array","items":{"anyOf":[{"type":"number"},{"type":"null"}]}}}},"responseSchema":{"type":"json","example":{"result":"processed","status":"success"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","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.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y6BK0JBLf-ydgWCW7Yt8Y","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fills in null/missing values in a numeric array using linear interpolation","exampleAgentPrompt":"I have a numeric array with some missing values — [1, null, 3, null, null, 6] — can you fill in the gaps using linear interpolation?","exampleUseCases":[{"title":"Patch missing sensor readings","prompt":"My IoT sensor logged these temperature readings but some dropped out: [20.5, null, null, 23.1, null, 25.0] — can you fill in the missing values by interpolating linearly between the known ones?"},{"title":"Complete a financial time series","prompt":"I have daily closing prices for the week but Tuesday and Wednesday are null: [142.3, null, null, 148.9, 151.2] — please interpolate the missing days."},{"title":"Smooth gaps in survey score data","prompt":"We collected weekly engagement scores [70, null, 74, null, null, 82] but some weeks weren't recorded — use linear interpolation to estimate the missing scores."}],"resultDescription":"Returns a JSON object with a 'result' field containing the processed array where null values have been replaced with linearly interpolated numbers based on surrounding known values, and a 'status' field confirming success.","failureModes":["Array contains only nulls with no anchor values — cannot interpolate without at least two non-null boundaries","Input array is empty — returns error or empty result","Non-numeric (non-null) values in the array may cause a type error","Leading or trailing nulls with no bounding known values cannot be extrapolated and may remain null or cause an error","Malformed request body missing the 'values' key returns a validation error"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, pay-per-call linear interpolation operation on a flat numeric array with null gaps and do not want to spin up a full data-science library or local computation environment. It is best suited for simple 1D sequences where linear estimation between neighbors is sufficient, rather than polynomial, spline, or time-aware interpolation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T12:46:27.694Z","isFirstParty":false,"canonicalSlug":"kihustle-json-linear-interpolation-fab376df"}