{"uid":"cap_n1qc2HGatTvq4rwD0V87L","slug":"course-catalog-api-eb96310f","name":"Course Catalog API","description":"University course catalog + prerequisite graph data for agents.","url":"https://course-catalog-api.lewis-6d8.workers.dev/courses","method":"POST","headers":{},"bodySchema":{"type":"object","required":["institution"],"properties":{"term":{"type":"string","description":"Optional term filter"},"fresh":{"type":"boolean","description":"Bypass cache if true"},"subject":{"type":"string","description":"Optional subject filter"},"institution":{"type":"string","description":"Institution slug; currently 'mit' is the live institution"}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.05","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.05/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.05","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Rrq4-oI9uowPQfpmN3XNA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.05","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns university course listings and prerequisite graph data for a given institution, with optional filtering by term and subject.","exampleAgentPrompt":"Pull the current MIT course catalog for Computer Science courses this fall term — use fresh data, not cached.","exampleUseCases":[{"title":"Build personalized course schedule for student","prompt":"Help me plan my spring semester courses at MIT. I'm a sophomore in electrical engineering and want to take four courses that build on what I've already completed. Show me what's available and which prerequisites I meet."},{"title":"Verify course prerequisites before enrollment","prompt":"I want to take 18.06 at MIT next term, but I'm not sure if I have all the prerequisites. Can you pull the current prerequisite requirements and check what I'm missing?"},{"title":"Analyze curriculum structure and dependencies","prompt":"Give me the full prerequisite graph for MIT's mathematics department courses. I'm designing a new curriculum and need to understand which courses depend on which to map out a logical course sequence."}],"resultDescription":"A list of university courses matching the query, including course details and prerequisite graph data showing course dependencies for the specified institution, term, and subject.","failureModes":["Unsupported institution slug returns an error — currently only 'mit' is a live institution","Missing required 'institution' field returns a validation error","Payment failure (402) if USDC payment is not included","Network timeout on the Cloudflare worker if upstream data is slow","Cache inconsistency if fresh=false returns stale data"],"whenToPreferThis":"Use this endpoint when an agent needs structured university course catalog data or prerequisite graph information for MIT, especially when building course planners, academic advisors, or curriculum analysis tools. Prefer this over web scraping university sites directly, as it returns structured, agent-ready data with prerequisite relationships.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:36:44.349Z","isFirstParty":false}