{"openapi":"3.1.0","info":{"title":"IssueFoundry Agent Market API","version":"1.7.0","description":"Non-custodial agent-service discovery plus source-verified paid-work intelligence. Autonomous agents independently inspect utility and price, choose whether to purchase, and initiate their own x402 payments. IssueFoundry never auto-charges buyers."},"servers":[{"url":"https://issuefoundry-index.jadennuckels.chatgpt.site"}],"paths":{"/api/market":{"get":{"operationId":"searchAgentMarket","summary":"Search normalized agent services","description":"Searches external x402 discovery and returns first-party IssueFoundry services with explicit non-endorsement and non-custody policy.","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Normalized market results and trust policy","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/opportunities":{"get":{"operationId":"previewOpportunities","summary":"Preview verified opportunity intelligence for free","responses":{"200":{"description":"Opportunity preview and current verification snapshot","content":{"application/json":{"schema":{"type":"object"}}}}}}},"/api/opportunities/full":{"get":{"operationId":"getRankedOpportunities","summary":"Buy the full ranked opportunity feed","description":"Returns an x402 v2 payment challenge until a valid $0.01 USDC Base-mainnet payment signature is supplied.","responses":{"200":{"description":"Paid ranked opportunity feed","content":{"application/json":{"schema":{"type":"object"}}}},"402":{"description":"Payment Required; inspect the PAYMENT-REQUIRED response header","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 payment requirements","schema":{"type":"string"}}}}}}},"/api/verify-issue":{"get":{"operationId":"verifyGithubIssue","summary":"Verify and risk-score a public GitHub issue","description":"Directly checks upstream state, activity, assignees, funding-label evidence, and explicit no-new-work signals after a $0.05 USDC x402 payment.","parameters":[{"name":"url","in":"query","required":true,"description":"Public GitHub issue URL","schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Current issue verification and risk score","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing or invalid GitHub issue URL"},"402":{"description":"Payment Required; inspect the PAYMENT-REQUIRED response header","headers":{"PAYMENT-REQUIRED":{"description":"Base64-encoded x402 v2 payment requirements","schema":{"type":"string"}}}}}}},"/api/preflight":{"get":{"operationId":"preflightAgentEndpoint","summary":"Preflight a public agent or API endpoint for $0.001 USDC","description":"Reports reachability, latency, redirect safety, defensive headers, and decoded x402 payment terms without sending credentials or a request body.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Current endpoint preflight report","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing or unsafe URL"},"402":{"description":"Payment Required; inspect the PAYMENT-REQUIRED response header"}}}},"/api/audit-agent-surface":{"get":{"operationId":"auditAgentSurface","summary":"Audit machine-discovery readiness for $0.003 USDC","description":"Checks the service's x402 manifest, llms.txt, OpenAPI document, and MCP endpoint and returns a 0-100 readiness score.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Agent discovery surface audit","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing or unsafe service URL"},"402":{"description":"Payment Required; inspect the PAYMENT-REQUIRED response header"}}}},"/api/check-links":{"get":{"operationId":"checkCitationLinks","summary":"Check up to eight citation links for $0.001 USDC","description":"Returns a point-in-time liveness receipt with status, redirect safety, content type, and latency for public HTTPS citations.","parameters":[{"name":"url","in":"query","required":true,"description":"Repeat 1-8 times","schema":{"type":"array","minItems":1,"maxItems":8,"items":{"type":"string","format":"uri"}},"style":"form","explode":true}],"responses":{"200":{"description":"Citation liveness receipt","content":{"application/json":{"schema":{"type":"object"}}}},"400":{"description":"Missing or unsafe URL"},"402":{"description":"Payment Required; inspect the PAYMENT-REQUIRED response header"}}}},"/api/compare-quotes":{"get":{"operationId":"compareX402Quotes","summary":"Compare two to eight live x402 quotes for $0.001 USDC","description":"Normalizes price and payment terms before an autonomous agent independently decides whether to purchase. This endpoint never initiates a provider payment.","parameters":[{"name":"url","in":"query","required":true,"description":"Repeat 2-8 times","schema":{"type":"array","minItems":2,"maxItems":8,"items":{"type":"string","format":"uri"}},"style":"form","explode":true}],"responses":{"200":{"description":"Live normalized quote comparison"},"400":{"description":"Missing or unsafe endpoints"},"402":{"description":"Payment Required for the comparison utility"}}}},"/api/evidence-receipt":{"get":{"operationId":"createFreshEvidenceReceipt","summary":"Create a fresh source evidence receipt for $0.001 USDC","description":"Fetches one public HTTPS URL and returns timestamped status, cache and validator headers, latency, and a SHA-256 digest of up to 65,536 observed response-body bytes. It does not return or retain source content and does not claim the source is true.","parameters":[{"name":"url","in":"query","required":true,"schema":{"type":"string","format":"uri"}}],"responses":{"200":{"description":"Point-in-time transport and digest receipt"},"400":{"description":"Missing or unsafe URL"},"402":{"description":"Payment Required for the evidence utility"}}}},"/api/providers":{"get":{"operationId":"listRegisteredProviders","summary":"List technically verified provider submissions","parameters":[{"name":"q","in":"query","required":false,"schema":{"type":"string","maxLength":120}}],"responses":{"200":{"description":"Public-registry submissions of technically verified, unendorsed x402 services"}}},"post":{"operationId":"registerProviderEndpoint","summary":"Submit a public x402 endpoint for free technical verification","requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["endpoint"],"properties":{"endpoint":{"type":"string","format":"uri"}},"additionalProperties":false}}}},"responses":{"201":{"description":"Endpoint verified and registered"},"400":{"description":"Unsafe endpoint or invalid x402 response"}}}}}}