Create a new endpoint

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
length between 1 and 255
^[a-zA-Z0-9_-]+$

Unique identifier for the Company

Query Params
integer
≥ 1
Defaults to 1

Page number for pagination

integer
1 to 100
Defaults to 20

Number of items per page

string

Field to sort by

string
enum
Defaults to desc

Sort order (ascending or descending)

Allowed:
string
length between 1 and 255

Search term to filter results

Body Params

Input schema for creating Endpoint

date-time

Required.

date-time

Required.

string

User who created this endpoint

string
required

References companies.company_id — A Spartera seller or buyer company account. See GET /companies for valid values. Required.

string
required

Connection to the data source

int64

Industry / category for marketplace discovery

int64

Primary use case for marketplace discovery

string
enum

Approval status before marketplace publication

Allowed:
string

User who approved this endpoint for marketplace

date-time

Timestamp of marketplace approval

boolean

Whether this endpoint appears in the public marketplace

string
required

Human-readable name for the endpoint

string

Human-readable, URL-safe slug derived from name at creation time. e.g. 'NFL Live Moneyline & Spread Odds' → 'nfl-live-moneyline-spread-odds'. Never changes after creation. Unique within company (DB constraint). Creation fails with 409 if a duplicate name exists in the same company.

string

Description of what this endpoint provides

string

Long-form HTML description for product pages and SEO

string

Top 3 questions this endpoint can help answer, in English. Stored as JSON array of strings (1-3 items, 15-200 chars each). Strongly encouraged for marketplace endpoints but not required — nudge via UI completeness score, not hard validation.

string

Schema/database name where the table resides

string

Table name to query from

string

Named customer for B2B deals (pricing handled via asset_price_history)

endpoint_schema
object

Column configurations including aggregations, filters, and visibility. Format: {columns: [{name, type, aggregation, filter, is_hidden, alias, ...}]}. This is the source of truth — SQL is generated at runtime from this configuration.

int64

Number of requests allowed per rate_limit_period

string
enum

Time period for rate limiting (HOUR, DAY, MONTH)

Allowed:
string
enum

How to group rate limits (IP, USER, COMPANY, API_KEY, GLOBAL)

Allowed:
string
enum

Access control method (OPEN, API_KEY, IP, EMAIL, DOMAIN)

Allowed:
access_whitelist
object

List of allowed IPs, emails, or domains based on access_method. Format: {type: 'ip'|'email'|'domain', values: ['192.168.1.1', ...]}

string
enum

Current status of the endpoint (ACTIVE, INACTIVE, DEPRECATED)

Allowed:
date-time

Start date of the data time period covered

date-time

End date of the data time period covered

date-time

When the seller began actively collecting this data. Distinct from data_time_period_start, which describes when the records themselves begin. Backfilled historical data will have date_collection_start > data_time_period_start.

string
enum

Type of geographic coverage

string

Specific regions/countries covered (e.g., 'United States, Canada, Mexico')

string
enum

How often the source data is refreshed

string

Comma-separated tags for organizing endpoints

date-time

When this endpoint was last called

int64

Seller-enforced row cap per pull. Applies to every delivery mode (inline JSON and file export). Buyers cannot exceed this. Default 1000.

boolean

Whether this endpoint supports bulk export to GCS. When True, buyers can request delivery=gcs with format=csv|parquet. The per-pull row ceiling is max_records_per_request regardless of delivery mode.

sample_response
object

Last successful {spartera, request, response} envelope. Saved on each successful marketplace run. Displayed as preview on product page load.

boolean

Required.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json