Stock Ticker Symbol Finder

Stock Ticker Symbol Finder · Acciones GPT

Stock Symbol Lookup

API for looking up financial symbols using the Finnhub API.

  • GET /searchSearch for best-matching symbols
Esquema original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "Stock Symbol Lookup",
    "description": "API for looking up financial symbols using the Finnhub API.",
    "version": "1.0.0"
  },
  "servers": [
    {
      "url": "https://finnhub.io/api/v1"
    }
  ],
  "paths": {
    "/search": {
      "get": {
        "summary": "Search for best-matching symbols",
        "operationId": "symbolLookup",
        "parameters": [
          {
            "name": "q",
            "in": "query",
            "description": "Query text can be symbol, name, isin, or cusip.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful response",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "properties": {
                    "count": {
                      "type": "integer"
                    },
                    "result": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "description": {
                            "type": "string"
                          },
                          "displaySymbol": {
                            "type": "string"
                          },
                          "symbol": {
                            "type": "string"
                          },
                          "type": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {},
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Finnhub-Token"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ]
}