{"uid":"cap_7llOHh8ezNLVmJGy_HN1E","slug":"foundry-clinical-search-set-change-91dccf50","name":"Foundry Clinical Search Set Change","description":"Pay-per-request evidence and data tools: CSV validation and reconciliation, DNS/email configuration evidence, and bounded official weather, earthquake, vehicle, company and study records. Exact USDC prices, explicit JSON contracts and source provenance. No mailbox, ownership, medical or safety guarantees.","url":"https://foundry-par007-machine-revenue-mainnet.inference-chip-index.workers.dev/v2/official/clinical-search-set-change","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"limit":{"type":"integer","default":20,"maximum":20,"minimum":1},"condition":{"type":"string","maxLength":120,"minLength":2},"baseline_nct_ids":{"type":"array","items":{"type":"string","pattern":"^NCT\\d{8}$"},"maxItems":20}}},"responseSchema":{"type":"json","example":{"route":"clinical-search-set-change","result":{"current":{"query":{"limit":5,"condition":"asthma"},"source":"ClinicalTrials.gov","freshness":{"state":"CURRENT_RETRIEVAL","retrievedAt":"2026-09-06T00:00:00Z","cacheAgeSeconds":0,"maximumCacheSeconds":0,"recordAgeIsNotRetrievalAge":true},"sourceUrl":"https://clinicaltrials.gov","observedAt":"2026-09-06T00:00:00Z","provenance":{"license":"ClinicalTrials.gov terms; bounded factual study metadata only","termsUrl":"https://clinicaltrials.gov/about-site/terms-conditions","truncated":false,"attribution":"ClinicalTrials.gov, US National Library of Medicine","limitations":["Synthetic example only; identifiers and null values illustrate fields, not a live observation."],"modifications":"Selected factual fields, normalized names and bounded result count; no source ownership claimed.","upstreamCalls":1,"documentationUrl":"https://clinicaltrials.gov/data-api/api"},"sourceUpdatedAt":null,"normalizedResult":[{"nctId":"NCT00110383","title":null,"phases":[],"sourceUrl":"https://clinicaltrials.gov/study/NCT00110383","startDate":null,"studyType":null,"overallStatus":null,"completionDate":null,"lastUpdatePostDate":null}],"sourceProcessedAt":null,"rawSourceIdentifiers":[]},"condition":"asthma","limitations":["Synthetic example only. A missing identifier is not proof a study was deleted."],"observed_at":"2026-09-06T00:00:00Z","absence_interpretation":"NOT_IN_CURRENT_QUERY","added_to_observed_page":[],"not_observed_baseline_ids":[],"retained_in_observed_page":["NCT00110383"]},"observed_at":"2026-09-06T00:00:00Z"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.015","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.015/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.015","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_y8vPmqKJLOLumJWxvBYzP","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.015","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Compares a set of baseline ClinicalTrials.gov NCT IDs against a fresh query for a condition, returning which trials were added, retained, or dropped from the current result page.","exampleAgentPrompt":"Check ClinicalTrials.gov for asthma right now with a limit of 10 results, and compare it against my baseline trial IDs NCT00110383, NCT00123456, and NCT00654321 — tell me which ones are new, which are still there, and which dropped off.","exampleUseCases":[{"title":"Detecting newly registered asthma trials","prompt":"I last tracked these 5 asthma trial IDs on ClinicalTrials.gov: NCT00110383, NCT00234567, NCT00345678, NCT00456789, NCT00567890. Can you run a fresh search for asthma with a limit of 10 and tell me if any new trials appeared that weren't in my baseline?"},{"title":"Monitoring dropped trials for a drug pipeline","prompt":"We have a baseline set of 8 NCT IDs for type 2 diabetes trials — NCT01111111, NCT01222222, NCT01333333, NCT01444444, NCT01555555, NCT01666666, NCT01777777, NCT01888888 — can you query ClinicalTrials.gov right now and tell me which ones are no longer showing up in the top 20 results?"},{"title":"Research compliance audit on trial visibility","prompt":"I need to verify that NCT02000001 and NCT02000002 are still appearing in current ClinicalTrials.gov results for 'lung cancer' — run a search with limit 20 and confirm their status compared to my baseline."}],"resultDescription":"Returns a JSON object with: the current query results (list of trials with NCT ID, title, phase, status, dates, and source URL), a classification of each baseline NCT ID as retained or not observed in the current page, a list of trial IDs newly added to the observed page, absence interpretation metadata, freshness/cache timestamps, and source provenance including license and attribution to ClinicalTrials.gov.","failureModes":["Invalid NCT ID format (must match ^NCT\\d{8}$) returns a validation error","Condition string too short (<2 chars) or too long (>120 chars) causes rejection","Limit exceeding 20 or below 1 is rejected","ClinicalTrials.gov upstream unavailability may delay or fail the request","Payment of 0.015 USDC not provided results in HTTP 402","Results are bounded and may not reflect the full trial universe for a condition"],"whenToPreferThis":"Use this endpoint when you need to detect changes between a known baseline set of clinical trial IDs and the current ClinicalTrials.gov search results for a specific condition. It is ideal for monitoring pipelines, compliance audits, or research workflows that need to know whether specific NCT IDs appeared, disappeared, or remained in recent search pages — with explicit source provenance and freshness metadata included. Prefer this over a plain clinical trial search when change-detection semantics (added/retained/not-observed classification) and baseline comparison are required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:44:44.203Z","isFirstParty":false}