{"uid":"cap_KW1_xOKy-7lo1rsUZcxwP","slug":"drug-product-data-sourcing-and-paid-search-decision-standard-fc818324","name":"Drug Product Data Sourcing and Paid Search Decision Standard","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-8080.on.ascii.dev/api/services/drug-product-data-sourcing-and-paid-search-decis","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":null,"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_DQMYVd9y24BdWjL4hs29Z","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 a decision procedure guiding agents on when to use free US drug data endpoints versus paid normalized drug product search with FDA, DailyMed, RxNorm, NADAC, shortage, and enforcement enrichments.","exampleAgentPrompt":"Can you pull the decision procedure for choosing between free drug data sources like openFDA and RxNorm versus a paid normalized drug search — I need to know the freshness gates, stale data kill criteria, and safety thresholds before my agent acts on any medication info?","exampleUseCases":[{"title":"Medication safety gate before agent action","prompt":"Before my agent dispenses any medication recommendation, I need the full decision procedure on when free FDA and DailyMed data is fresh enough to trust, and when I should switch to the paid enriched drug search — including what staleness thresholds should trigger a hard stop."},{"title":"Drug shortage monitoring pipeline setup","prompt":"I'm building an agent that monitors drug shortages — can you get me the decision standard for whether to rely on free shortage data from openFDA or upgrade to the paid source-linked shortage and enforcement enrichments?"},{"title":"Regulatory compliance audit for drug data sources","prompt":"My compliance team needs to know exactly how an agent should verify drug product data source identity across openFDA, RxNorm, and NADAC before using it in any regulated workflow — can you retrieve that decision procedure so I can document it?"}],"resultDescription":"Returns a structured JSON object containing a prose decision procedure (brief), a service slug, the generation source (llm, reasoning, or deterministic), an ISO-8601 timestamp, and optionally a model identifier and topic — all guiding the agent on when and how to choose between free and paid US drug data endpoints.","failureModes":["Payment not provided or invalid x402 payment — returns 402 with payment details","Invalid HTTP method (e.g. POST) — rejected per schema enum constraint","Malformed queryParams — topic or meta fields outside allowed values may cause rejection","Upstream LLM or reasoning engine unavailable — may return error or degraded response","Stale or cached decision procedure if generation timestamp is not checked by caller"],"whenToPreferThis":"Choose this endpoint when an agent needs structured, authoritative guidance on drug data sourcing decisions — specifically the tradeoff between free public endpoints (openFDA, DailyMed, RxNorm, NADAC) and paid enriched alternatives. Prefer it over generic web search or static documentation when you need machine-readable decision criteria including freshness gates, staleness kill conditions, source identity verification, and safety thresholds for medication-related autonomous actions.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T19:01:48.158Z","isFirstParty":false}