EquityNestAI

EquityNestAI · GPT アクション

Marketaux News API

API for accessing global financial news, providing comprehensive news data including filtering by various criteria such as country.

  • GET /news/allRetrieve All Financial News

    Fetches all available global financial news articles, with options for filtering based on specified criteria such as countries.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "Marketaux News API",
    "description": "API for accessing global financial news, providing comprehensive news data including filtering by various criteria such as country.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.marketaux.com/v1"
    }
  ],
  "paths": {
    "/news/all": {
      "get": {
        "operationId": "getAllNews",
        "summary": "Retrieve All Financial News",
        "description": "Fetches all available global financial news articles, with options for filtering based on specified criteria such as countries.",
        "parameters": [
          {
            "name": "api_token",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "LvJ3Gf12r4J1qIrUnG2GEioo38gOzcARydIY6oAK"
          },
          {
            "name": "countries",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated country codes to filter news by the country of the exchange of entities identified within the articles (e.g., 'us,uk')"
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response containing a list of news articles.",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/NewsArticle"
                }
              }
            }
          },
          "400": {
            "description": "Bad request due to invalid parameters."
          },
          "401": {
            "description": "Unauthorized access due to missing or invalid API token."
          },
          "404": {
            "description": "Resource not found."
          },
          "500": {
            "description": "Internal server error."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "NewsArticle": {
        "type": "object",
        "properties": {
          "title": {
            "type": "string"
          },
          "date": {
            "type": "string",
            "format": "date-time"
          },
          "content": {
            "type": "string"
          },
          "country": {
            "type": "string"
          }
        }
      }
    }
  }
}

MarketStack API

This API provides historical and real-time stock data. It offers several endpoints including end-of-day data, intraday data, ticker information, supported exchanges, currencies, and timezones.

  • GET /eodRetrieve End-of-Day Historical Stock Data

    Historical stock prices are available from the end-of-day endpoint. Use the date_from and date_to parameters to specify the date range for the historical data.

元の API スキーマ
{
  "openapi": "3.1.0",
  "info": {
    "title": "MarketStack API",
    "description": "This API provides historical and real-time stock data. It offers several endpoints including end-of-day data, intraday data, ticker information, supported exchanges, currencies, and timezones.",
    "version": "v1.0.0"
  },
  "servers": [
    {
      "url": "https://api.marketstack.com/v1"
    }
  ],
  "paths": {
    "/eod": {
      "get": {
        "operationId": "getEndOfDayData",
        "summary": "Retrieve End-of-Day Historical Stock Data",
        "description": "Historical stock prices are available from the end-of-day endpoint. Use the date_from and date_to parameters to specify the date range for the historical data.",
        "parameters": [
          {
            "name": "access_key",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "102ae5603a72dd82fe3e7d4629408342"
          },
          {
            "name": "symbols",
            "in": "query",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Comma-separated list of stock symbols."
          },
          {
            "name": "date_from",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "Start date for the data query."
          },
          {
            "name": "date_to",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string",
              "format": "date"
            },
            "description": "End date for the data query."
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response with historical data."
          },
          "400": {
            "description": "Bad request due to invalid parameters."
          },
          "401": {
            "description": "Unauthorized access due to missing or invalid API key."
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "HistoricalData": {
        "type": "object",
        "properties": {
          "date": {
            "type": "string",
            "format": "date"
          },
          "open": {
            "type": "number"
          },
          "close": {
            "type": "number"
          },
          "high": {
            "type": "number"
          },
          "low": {
            "type": "number"
          },
          "volume": {
            "type": "integer"
          }
        }
      }
    }
  }
}