{"openapi":"3.1.0","info":{"title":"Verify API","version":"0.1.0"},"paths":{"/verify/citation":{"post":{"summary":"Verify Citation Route","operationId":"verify_citation_route_verify_citation_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CitationRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/url":{"post":{"summary":"Verify Url Route","operationId":"verify_url_route_verify_url_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UrlRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/package":{"post":{"summary":"Verify Package Route","operationId":"verify_package_route_verify_package_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PackageRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/repo":{"post":{"summary":"Verify Repo Route","operationId":"verify_repo_route_verify_repo_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RepoRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/case":{"post":{"summary":"Verify Case Route","operationId":"verify_case_route_verify_case_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CaseRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/filing":{"post":{"summary":"Verify Filing Route","operationId":"verify_filing_route_verify_filing_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilingRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/filings":{"post":{"summary":"Verify Filings Route","operationId":"verify_filings_route_verify_filings_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FilingsRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/drug":{"post":{"summary":"Verify Drug Route","operationId":"verify_drug_route_verify_drug_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DrugRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/seller":{"post":{"summary":"Verify Seller Route","operationId":"verify_seller_route_verify_seller_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SellerRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/wallet":{"post":{"summary":"Verify Wallet Route","operationId":"verify_wallet_route_verify_wallet_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/WalletRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/verify/grant":{"post":{"summary":"Verify Grant Route","operationId":"verify_grant_route_verify_grant_post","requestBody":{"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantRequest"}}},"required":true},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/admin/stats":{"get":{"summary":"Stats","description":"Operational numbers for tracking the day-60/90 go-to-market markers:\nx402 call volume per endpoint/adapter/outcome over the trailing window.\nNot a customer-facing endpoint.","operationId":"stats_admin_stats_get","parameters":[{"name":"days","in":"query","required":false,"schema":{"type":"integer","default":30,"title":"Days"}},{"name":"x-admin-token","in":"header","required":false,"schema":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"X-Admin-Token"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/x402-safety":{"get":{"summary":"X402 Safety Page","operationId":"x402_safety_page_x402_safety_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/realcite":{"get":{"summary":"Realcite Page","operationId":"realcite_page_realcite_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/realdep":{"get":{"summary":"Realdep Page","operationId":"realdep_page_realdep_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"CaseRequest":{"properties":{"citation":{"type":"string","title":"Citation","description":"The case citation, e.g. '576 U.S. 644'."},"case_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Case Name","description":"Optional case name to cross-check against the citation."}},"type":"object","required":["citation"],"title":"CaseRequest","description":"Provide a citation; case_name is optional and checked against the\ncanonical record when given."},"CitationRequest":{"properties":{"doi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Doi","description":"The citation's DOI, if known."},"title":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Title","description":"The work's title."},"authors":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"title":"Authors","description":"Author names, as e.g. ['Jane Doe', 'John Smith']."},"year":{"anyOf":[{"type":"integer"},{"type":"null"}],"title":"Year","description":"Publication year."},"journal":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Journal","description":"Journal or venue name."}},"type":"object","title":"CitationRequest","description":"Provide a DOI and/or a title; other fields are checked against the\ncanonical record when given."},"DrugRequest":{"properties":{"claim_type":{"type":"string","enum":["approval","ndc","recall"],"title":"Claim Type","description":"Which FDA record type to check."},"identifier":{"type":"string","title":"Identifier","description":"The application_number (approval), product_ndc (ndc), or recall_number (recall)."},"expected_name":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Name","description":"Optional name to cross-check: brand/sponsor name for approval/ndc, recalling firm for recall."}},"type":"object","required":["claim_type","identifier"],"title":"DrugRequest","description":"Provide a claim_type and the matching identifier: application_number\nfor a drug approval, product_ndc for an NDC listing, or recall_number\nfor a recall. expected_name is optional and checked against the\ncanonical record when given (brand/sponsor name for approval/ndc, the\nrecalling firm for a recall)."},"FilingRequest":{"properties":{"cik":{"type":"string","title":"Cik","description":"The filer's SEC Central Index Key (CIK), e.g. '320193' or '0000320193'."},"accession_number":{"type":"string","title":"Accession Number","description":"The filing's SEC accession number, e.g. '0000320193-23-000106'."},"form_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form Type","description":"Optional expected form type, e.g. '10-K', '8-K', '4'."},"filed_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Filed Date","description":"Optional expected filing date (YYYY-MM-DD) to cross-check."}},"type":"object","required":["cik","accession_number"],"title":"FilingRequest","description":"Provide the filer's SEC CIK and the filing's accession number;\nform_type and filed_date are optional and checked against the canonical\nrecord when given."},"FilingsRequest":{"properties":{"cik":{"type":"string","title":"Cik","description":"The filer's SEC Central Index Key (CIK), e.g. '320193' or '0000320193'."},"form_type":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Form Type","description":"Optional form type filter, e.g. '10-K', '8-K', '4'."},"limit":{"type":"integer","title":"Limit","description":"Max filings to return, capped at 20 regardless of what's given.","default":5}},"type":"object","required":["cik"],"title":"FilingsRequest","description":"Provide a filer's SEC CIK; returns their recent filings, optionally\nfiltered by form type. A feed, not a verification of one specific\nclaimed filing -- see FilingRequest for that."},"GrantRequest":{"properties":{"grant_number":{"type":"string","title":"Grant Number","description":"The full NIH project number, e.g. '5R01CA123456-04'."},"expected_pi":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Pi","description":"Optional principal investigator name to cross-check."},"expected_org":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Org","description":"Optional awardee institution name to cross-check."}},"type":"object","required":["grant_number"],"title":"GrantRequest","description":"Provide a full NIH grant/project number, including its support-year\nsuffix (e.g. '5R01CA123456-04') -- a number given without the suffix\nmatches every year of that grant in NIH RePORTER's own search, not one\nrecord. expected_pi and expected_org are optional and checked against\nthe canonical record when given."},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"PackageRequest":{"properties":{"ecosystem":{"type":"string","enum":["npm","pypi","crates"],"title":"Ecosystem","description":"Which package registry to check."},"name":{"type":"string","title":"Name","description":"The package name."},"version":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Version","description":"Optional specific version; defaults to latest if omitted."}},"type":"object","required":["ecosystem","name"],"title":"PackageRequest","description":"Provide an ecosystem and package name; version is optional and\ndefaults to latest."},"RepoRequest":{"properties":{"owner":{"type":"string","title":"Owner","description":"The repo owner (user or org)."},"repo":{"type":"string","title":"Repo","description":"The repository name."}},"type":"object","required":["owner","repo"],"title":"RepoRequest","description":"Provide the owner and repo name, e.g. from github.com/{owner}/{repo}."},"SellerRequest":{"properties":{"resource_url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Resource Url","description":"The x402 resource URL to verify."},"method":{"type":"string","enum":["GET","POST"],"title":"Method","description":"HTTP method that triggers the seller's 402 challenge.","default":"POST"}},"type":"object","required":["resource_url"],"title":"SellerRequest","description":"Provide the exact x402 resource URL to check and which HTTP method\ntriggers its 402 challenge."},"UrlRequest":{"properties":{"url":{"type":"string","maxLength":2083,"minLength":1,"format":"uri","title":"Url","description":"The URL to verify. Must be http or https."},"expected_content":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Content","description":"Optional text that should appear on the page."},"expected_date":{"anyOf":[{"type":"string"},{"type":"null"}],"title":"Expected Date","description":"Optional ISO date (YYYY-MM-DD); checks for an archived snapshot near this date."}},"type":"object","required":["url"],"title":"UrlRequest","description":"Provide a URL; expected_content and expected_date are optional checks\nagainst the fetched page."},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"},"WalletRequest":{"properties":{"address":{"type":"string","title":"Address","description":"The EVM wallet address to check, e.g. '0x...'."}},"type":"object","required":["address"],"title":"WalletRequest","description":"Provide an EVM wallet address to screen. Base mainnet only -- same\nscope as /verify/seller's payTo check."}}}}