Created
April 25, 2025 19:51
-
-
Save jp1971/167342961a6e1aabf63c233c21f84498 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| openapi: 3.1.0 | |
| info: | |
| title: Company Intelligence Scraper | |
| description: Scrapes public webpages for business model, strategic priorities, and challenges of a given company. | |
| version: 1.0.0 | |
| servers: | |
| - url: https://your-scraper-api.com | |
| description: Placeholder scraping API server | |
| paths: | |
| /scrape-company-info: | |
| get: | |
| operationId: scrapeCompanyInfo | |
| summary: Get structured business intelligence for a company | |
| description: Returns how a company makes money, three strategic priorities, and three business challenges by scraping public data sources. | |
| parameters: | |
| - name: companyName | |
| in: query | |
| required: true | |
| description: The name of the company to look up | |
| schema: | |
| type: string | |
| responses: | |
| '200': | |
| description: Company intelligence was successfully retrieved | |
| content: | |
| application/json: | |
| schema: | |
| type: object | |
| properties: | |
| companyName: | |
| type: string | |
| howTheyMakeMoney: | |
| type: string | |
| description: A concise summary of how the company generates revenue | |
| strategicPriorities: | |
| type: array | |
| items: | |
| type: string | |
| description: A list of 3 key strategic priorities | |
| businessChallenges: | |
| type: array | |
| items: | |
| type: string | |
| description: A list of 3 key business challenges | |
| '400': | |
| description: Missing or invalid parameters | |
| '500': | |
| description: Failed to retrieve company info due to scraping error |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment