{"uid":"cap_5pMnBj8m2aGlxAsCdGFi5","slug":"npm-symbol-export-verifier-2678afab","name":"NPM Symbol Export Verifier","description":"Verify whether a named API symbol is publicly exported by an exact npm package version. Returns structured existence, export kind, certainty, and package-artifact evidence.","url":"https://401-chi.vercel.app/api/v1/symbol","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"symbol":{"type":"string","pattern":"^[A-Za-z_$][A-Za-z0-9_$]*$","maxLength":512,"minLength":1},"package":{"type":"string","pattern":"^(?:@[a-z0-9][a-z0-9._-]*\\/)?[a-z0-9][a-z0-9._-]*$","maxLength":214,"minLength":1},"version":{"type":"string","pattern":"^v?\\d+\\.\\d+\\.\\d+(?:-[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?(?:\\+[0-9A-Za-z-]+(?:\\.[0-9A-Za-z-]+)*)?$","maxLength":100,"minLength":1},"ecosystem":{"type":"string","const":"npm"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.003","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.003/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.003","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_2ctdVe9A0uc6FIPqDmLc1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.003","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Checks whether a named symbol is publicly exported by a specific npm package version, returning existence, export kind, and certainty level.","exampleAgentPrompt":"Can you verify whether the symbol `createStore` is a named export in the npm package `redux` at version 4.2.0?","exampleUseCases":[{"title":"Validate dependency before code generation","prompt":"Before you generate code using it, check if `useQuery` is actually exported by `@tanstack/react-query` at version 5.0.0 — I want to make sure it exists as a named export."},{"title":"Debug missing export after upgrade","prompt":"I upgraded `axios` to version 1.6.0 and now my import is breaking — can you check if `AxiosRequestConfig` is still exported from that version?"},{"title":"Audit library API surface for a specific version","prompt":"I need to know if `parseISO` is a named export in `date-fns` at version 3.0.0 — can you verify that and tell me how certain the result is?"}],"resultDescription":"Returns a structured JSON object with a query echo (ecosystem, package, requestedVersion, symbol), a result block (exists: boolean, exportKind: named/default/namespace/type/unknown/null, certainty: verified/inconclusive), an evidence array with source artifacts and package version details, and a retrievedAt timestamp.","failureModes":["Package version not found on npm registry — returns inconclusive certainty or error","Symbol does not match identifier pattern (must start with letter, $, or _) — validation error","Invalid semver version string — rejected by input schema","Package name does not conform to npm naming rules — schema validation failure","Ecosystem value other than 'npm' — rejected (only npm supported)","Network or registry fetch failure — may return inconclusive certainty with partial evidence"],"whenToPreferThis":"Use this endpoint when you need to programmatically verify that a specific named symbol (function, class, type, constant) is publicly exported by a pinned npm package version before generating code, validating dependency compatibility, or auditing API surface changes across versions. It is preferable over manual registry inspection or documentation lookups when certainty and structured evidence are required by an automated agent workflow.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-16T00:33:14.264Z","isFirstParty":false}