Created
May 25, 2025 00:27
-
-
Save fance2552/c2d59fcab7c63976c165aa82f998b75a 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: SerpApi Google News | |
version: 1.0.0 | |
description: Search Google News via SerpApi for stock-related keywords. | |
servers: | |
- url: https://serpapi.com | |
paths: | |
/search: | |
get: | |
operationId: searchNews | |
summary: Search Google News for stock news | |
parameters: | |
- in: query | |
name: engine | |
required: true | |
schema: | |
type: string | |
example: google_news | |
- in: query | |
name: q | |
required: true | |
schema: | |
type: string | |
example: premarket stock news OR earnings OR FDA approval | |
- in: query | |
name: api_key | |
required: true | |
schema: | |
type: string | |
example: 4e43b9c4c424dce525c7ca9a804ec1b6427a2535dab7322474d0a876604d99ad | |
- in: query | |
name: hl | |
required: false | |
schema: | |
type: string | |
example: en | |
- in: query | |
name: gl | |
required: false | |
schema: | |
type: string | |
example: us | |
responses: | |
'200': | |
description: Successful news search results |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment