Marketplace Dataset API
Get Dataset Metadata
Paste your API key to the authorization field. To get an API key, Create an account and learn how to generate an API key.
General Description
- This endpoint retrieves detailed metadata for a specific dataset.
- Metadata includes available fields, data types, and descriptions.
- Use this endpoint to understand the structure of a dataset before querying or downloading it.
Request
Endpoint
Path Parameters
Parameter | Type | Description |
---|---|---|
dataset_id | string | The unique identifier of the dataset |
Headers
Header | Type | Description |
---|---|---|
Authorization | string | Your API key for authentication |
Response
Response Example
Response Fields
Field | Type | Description |
---|---|---|
id | string | Unique identifier for the dataset |
fields | object | Contains metadata about each field in the dataset |
Field Metadata
Each field in the fields
object contains the following attributes:
Attribute | Type | Description |
---|---|---|
type | string | Data type of the field (e.g., text , number , url ) |
active | boolean | Indicates if the field is currently active |
required | boolean | Indicates if the field is mandatory (if applicable) |
description | string | Brief description of the field |
Example Use Case
Fetching Dataset Metadata
To retrieve metadata for the “Crunchbase companies information” dataset:
Request
Response
Troubleshooting & FAQs
Issue: “Unauthorized” response
Solution: Ensure you have included a valid API key in the request header.
Issue: “Dataset not found”
Solution: Verify that the dataset_id
is correct and exists in the dataset list.
Issue: “Field missing in metadata”
Solution: Some fields may be inactive or unavailable for certain datasets.