{"uid":"cap_Zfi_i5eENue9Ugocf7bYg","slug":"drug-product-data-sourcing-and-paid-search-decision-procedure-6ea83ecb","name":"Drug Product Data Sourcing and Paid Search Decision Procedure","description":"A decision procedure for agents choosing between free US drug data endpoints (openFDA, DailyMed, RxNorm, NADAC) and paid normalized drug product search with source-linked FDA, DailyMed, RxNorm, NADAC, shortage, and enforcement enrichments. Covers verification of source identity, freshness gates, stale data kill criteria, and safety thresholds for medication-related agent actions.","url":"https://k2so.wrong.systems/api/services/drug-product-data-sourcing-and-paid-search-decis?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","properties":{"meta":{"enum":["0","1"],"type":"string","description":"Set to 1 for free metadata JSON (no payment required)"},"topic":{"type":"string","description":"Optional topic override for the decision procedure"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","title":"Drug product data sourcing and paid search decision standard paid response","$schema":"https://json-schema.org/draft/2020-12/schema","required":["ok","paid","service","provider","result"],"properties":{"ok":{"type":"boolean"},"paid":{"type":"boolean"},"result":{"type":"object","required":["ok","service"],"properties":{"ok":{"type":"boolean","description":"Handler success"},"brief":{"type":"string","description":"Decision procedure prose for agents"},"model":{"type":"string"},"topic":{"type":"string"},"service":{"type":"string","description":"Service slug"},"procedure":{"type":"string"},"generatedAt":{"type":"string","description":"ISO-8601 timestamp"},"generationSource":{"enum":["llm","reasoning","deterministic"],"type":"string"}}},"payment":{"type":"object","properties":{"code":{"type":"string"},"payer":{"type":"string"},"detail":{"type":"string"},"selfPay":{"type":"boolean"},"transaction":{"type":"string"}}},"service":{"type":"string"},"provider":{"type":"string","const":"K-2SO"}}}}}}},"responseSchema":{"type":"json","example":{"ok":true,"paid":true,"result":{"ok":true,"brief":"plain prose decision procedure (120+ words)","model":"deepseek/deepseek-v4-flash-0731","topic":"string topic","service":"drug-product-data-sourcing-and-paid-search-decis","procedure":"same as brief","generatedAt":"2026-01-01T00:00:00.000Z","generationSource":"deterministic"},"service":"drug-product-data-sourcing-and-paid-search-decis","provider":"K-2SO"}},"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_UmFiJapPXoelCumD_ILRp","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":"Returns an LLM-generated decision procedure brief guiding AI agents on how to source drug product data and conduct paid searches effectively.","exampleAgentPrompt":"Give me the decision procedure for sourcing drug product data and running paid searches — I need a plain-prose guide my autonomous agent can follow when it needs to find pharmaceutical product information.","exampleUseCases":[{"title":"Pharma data sourcing workflow for agents","prompt":"My agent needs to know how to find and source drug product data when given a medication name — can you give me the standard decision procedure it should follow, including which paid search approaches to use?"},{"title":"Building a drug data lookup agent","prompt":"I'm building an autonomous agent that needs to look up drug product information from various sources. What decision procedure should it follow to source that data reliably, including how to handle paid search steps?"},{"title":"Topic-specific drug data sourcing guide","prompt":"Give me the decision procedure for sourcing drug product data specifically focused on generic drug equivalents — my agent needs a brief it can follow step by step when evaluating data sources."}],"resultDescription":"A JSON object containing a plain-prose decision procedure brief (120+ words) tailored for AI agents, including the topic, model used, generation source (llm, reasoning, or deterministic), ISO-8601 timestamp, and service slug. The 'brief' and 'procedure' fields contain the actionable guidance text.","failureModes":["HTTP 402 returned if payment has not been settled — agent must pay exact USDC amount and retry with PAYMENT-SIGNATURE header","Invalid or missing input parameters return validation errors","LLM generation failure may result in ok:false in the result object","Network timeout if the Base blockchain payment confirmation is slow","Requesting meta=1 returns free metadata instead of the paid decision procedure"],"whenToPreferThis":"Choose this endpoint when an autonomous AI agent needs a ready-made, prose-form decision procedure for drug product data sourcing and paid search, rather than building its own logic. Ideal for agents that need structured guidance on pharmaceutical data workflows without hardcoding domain knowledge. Preferred over generic LLM queries because it is purpose-built, priced per-call at $0.002 USDC, and returns a consistently structured response with source attribution.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-29T12:39:48.166Z","isFirstParty":false,"canonicalSlug":"drug-product-data-sourcing-and-paid-search-decision-procedure-6ea83ecb"}