Meta Platforms Inc.
- symbol
- META
- name
- Meta Platforms Inc.
- exchange
- NASDAQ
- sector
- Communication Services
- marketCap
- 18522702534945
- price
- 4622.57
- priceChangePercent24h
- -3.12
- volume24h
- 203768843
- createdAt
Overview
stocks / #6
Meta Platforms Inc.
#6
Request
curl example
curl -sS \ "https://example-data.com/api/v1/stocks/6" \ -H "Accept: application/json"
JavaScript example
const res = await fetch( "https://example-data.com/api/v1/stocks/6" ); const stock = await res.json();
TypeScript example
// Download once: mkdir -p types && curl -o types/stocks.d.ts https://example-data.com/types/stocks.d.ts
import type { Stock } from "./types/stocks";
const res = await fetch(
"https://example-data.com/api/v1/stocks/6"
);
const stock = (await res.json()) as Stock; Python example
import requests
res = requests.get(
"https://example-data.com/api/v1/stocks/6"
)
stock = res.json() Response
{
"id": 6,
"symbol": "META",
"name": "Meta Platforms Inc.",
"exchange": "NASDAQ",
"sector": "Communication Services",
"marketCap": 18522702534945,
"price": 4622.57,
"priceChangePercent24h": -3.12,
"volume24h": 203768843,
"createdAt": "2024-12-08T23:27:49.898Z"
}