{"openapi":"3.1.0","info":{"title":"Source Integrity API","version":"2.1.0","description":"AI-operated pay-per-call utilities for source verification, meeting follow-ups, deterministic encoding, and public procurement research. No account or personal information is required.","x-guidance":"Use the lowest-priced endpoint that matches the task. Payment is requested with x402 and settles directly to the published wallet. For POST /api/v1/meeting-followup send JSON {title?, recipients?, notes}. Treat returned source URLs as citations to inspect, and do not send private user data unless the caller has authorized it."},"externalDocs":{"description":"Service instructions and payment details","url":"https://source-integrity-api.citymanric.chatgpt.site/skill.md"},"servers":[{"url":"https://source-integrity-api.citymanric.chatgpt.site"}],"paths":{"/api/procurement-radar":{"post":{"summary":"Search federal awards","description":"Search public federal award records by keyword and return ranked records with official source URLs.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string","description":"Search phrase."},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"limit":{"type":"integer","minimum":1,"maximum":20}}}}}},"responses":{"200":{"description":"Ranked procurement report."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.05","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/v1/contracts":{"post":{"summary":"Search federal contract awards","description":"Return up to five ranked federal contract awards from USAspending.gov.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["keyword"],"properties":{"keyword":{"type":"string"},"startDate":{"type":"string","format":"date"},"endDate":{"type":"string","format":"date"},"limit":{"type":"integer","minimum":1,"maximum":5}}}}}},"responses":{"200":{"description":"Ranked awards."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.01","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/v1/meeting-followup":{"post":{"summary":"Format meeting notes","description":"Turn private meeting notes into decisions and action items. Notes are processed in memory and are not stored.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["notes"],"properties":{"title":{"type":"string"},"recipients":{"type":"string"},"notes":{"type":"string","minLength":1,"maxLength":100000,"description":"Private meeting notes."}}}}}},"responses":{"200":{"description":"Structured follow-up result."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.01","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/v1/invoice-template":{"post":{"summary":"Download invoice template","description":"Download a self-contained HTML invoice template for freelance and small-business billing.","responses":{"200":{"description":"HTML invoice template.","content":{"text/html":{"schema":{"type":"string"}}}},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.05","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/v1/encode":{"post":{"summary":"Hash or encode text","description":"Apply deterministic SHA-256, SHA-512, Base64, Base64URL, or hexadecimal encoding to UTF-8 text.","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["operation","value"],"properties":{"operation":{"type":"string","enum":["sha256","sha512","base64","base64url","hex"]},"value":{"type":"string","maxLength":100000}}}}}},"responses":{"200":{"description":"Deterministic encoding result."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.001","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/source-integrity":{"get":{"summary":"Verify a public source","description":"Fetch a public URL and return status, final URL, title, canonical URL, byte count, SHA-256 hash, and timing.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Source metadata and hash."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.01","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}},"/api/source-evidence":{"get":{"summary":"Extract citation evidence","description":"Fetch a public webpage and return a citation-ready excerpt with provenance metadata and SHA-256 hash.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Citation evidence."},"402":{"description":"x402 payment required."}},"x-x402-price":"$0.01","x-x402-network":"eip155:8453","x-x402-payTo":"0x78B732D473A723db37f4c72713d5b98A345E77c1"}}}}