REST Quickstart

Get started with the Massive REST API

A screenshot displaying a JSON response with stock data on one side and a graphical user interface presenting the same information, illustrating the types of applications you can build with Massive data

The Massive REST API delivers historical and real-time market data over HTTPS — ideal for on-demand queries and request/response integrations. For bulk historical downloads, use Flat Files; for live streams, use the WebSocket API.

This guide walks through authenticating and making your first request manually so you understand what our official client libraries handle on your behalf.

Browse Our Data

Select a category to see its REST endpoints, schemas, and code examples.

Authenticate Your Request

Before you can access Massive data, you need your unique API key.

Obtaining Your API Key

  1. Sign up or log in to your account.
  2. Visit your Dashboard to find your API key.
  3. Keep your API key secure and do not share it publicly.

You can include your API key in two ways:

  • Query String Parameter (e.g., ?apiKey=YOUR_API_KEY):

  • Authorization Header:

Note: Replace YOUR_API_KEY with your actual API key from your dashboard.

Making Your First API Request

At your terminal, let’s make a simple request using the curl command, to the Dividends endpoint to list recent dividends.

This command retrieves dividend records. For more parameters and advanced filtering options, see the Dividends endpoint documentation.

Pro Tip: If you omit your API key or use an invalid one, you will receive an authorization error. Ensure you have replaced YOUR_API_KEY with your actual key before running the command.

Understanding the API Response

All REST API endpoints from Massive return data in a structured JSON format. You will commonly see fields like status, count, results, and request_id at the root level. The results field typically contains an array of objects, each representing an individual data record (such as a dividend, trade, or ticker detail).

This pattern is consistent across our REST endpoints. Once you understand how to authenticate, make requests, and parse JSON responses for one endpoint -- like Dividends -- you can apply the same approach to all other endpoints. As you explore different datasets (e.g., trades, quotes, fundamentals), you will find that the process remains the same: use your API key, structure your request URL or headers appropriately, and parse the returned JSON to integrate the data into your applications.

Now that you know how to authenticate and issue requests, you have the basic skills to use any of the Massive REST endpoints.

Explore Client Libraries

While understanding the manual workflow is valuable, integrating directly with our client libraries is the recommended approach for production use. These libraries handle:

  • Authentication and secure key management
  • Request formatting and retry logic
  • Parsing JSON responses into easy-to-use structures

Available libraries:

Next Steps

With your first successful API request and an understanding of the common patterns in our JSON responses, you are prepared to explore any of Massive’s endpoints. Check out our detailed documentation for additional parameters, data sources, and capabilities. As you progress, consider using our client libraries to greatly simplify the integration process and focus on building data-driven applications.

Did you find this page helpful?
Do you still need help with something?
REST API Quickstart | Massive