NewConnect Claude, Cursor, ChatGPT, and other AI agents to API Ninjas via our MCP server
Stock Price API

Amgen Inc. (AMGN) Stock Price API

Amgen Inc. (AMGN) is a global biotechnology company listed on the NASDAQ, with leading franchises in inflammation (Enbrel, Otezla, Tezspire), oncology, cardiovascular disease (Repatha), and a closely watched obesity asset MariTide. AMGN's stock price is driven by MariTide trial readouts, Horizon Therapeutics integration, and biosimilar pressures. The AMGN Stock Price API delivers real-time and historical price data for Amgen.

(4.3)

From 3,661 users

3,000+

Applications using this API

API Status

Online - All Systems Operational

API Response Times

Average
P50
P75
P90
P95
387ms413ms475ms593ms1234ms

Didn't find what you were looking for? Suggest an improvement


/v1/stockprice GET

https://api.api-ninjas.com/v1/stockprice


Parameters

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON object with the following fields or an error if the request is unsuccessful.

  • ticker

    The ticker symbol of the stock (e.g., AMGN).

  • name

    The full company name associated with the ticker symbol.

  • price

    The current price of the stock.

  • exchange

    The exchange where the stock is listed (e.g., NASDAQ).

  • updated

    The Unix timestamp of the price update.

  • currency

    The currency in which the stock is priced (e.g., USD).

  • volume

    The trading volume for the most recent session.

Sample Request Live Demo!

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/stockprice?ticker=AMGN

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/stockprice?ticker=AMGN" \ -H "X-Api-Key: YOUR_API_KEY"

If your programming language is not listed above, you can still make API calls by using any HTTP request library and following the documentation above.


/v1/stockpricehistorical GET Premium Only

https://api.api-ninjas.com/v1/stockpricehistorical

Returns historical Amgen Inc. (AMGN) stock price data in OHLCV (Open, High, Low, Close, Volume) format. Data is returned in descending order (most recent first).

Parameters

  • ticker  required

    Use AMGN for Amgen Inc..

  • period  optional

    Time interval between data points. Valid values: 1m, 5m, 15m, 30m, 1h, 4h, 1d. Default is 1h.

  • start  optional

    Start timestamp in Unix format. Defaults to 24 hours ago.

  • end  optional

    End timestamp in Unix format. Defaults to current time.

Headers

  • X-Api-Key  required

    API Key associated with your account.

Response

A JSON array of objects or an error if the request is unsuccessful.

  • open

    Opening price.

  • high

    Highest price.

  • low

    Lowest price.

  • close

    Closing price.

  • volume

    Trading volume.

  • time

    Unix timestamp of the period.

Sample Request Live Demo!

period
start
end

Try this API endpoint with all available parameters in our API playground

https://api.api-ninjas.com/v1/stockpricehistorical?ticker=AMGN&period=1h

Headers

X-Api-KeyLog in or sign up to get your API Key

Sample Response

JSON

Code Examples

1 2 curl -X GET "https://api.api-ninjas.com/v1/stockpricehistorical?ticker=AMGN&period=1h" \ -H "X-Api-Key: YOUR_API_KEY"