---
title: "Create a new identifier for this provider"
method: POST
path: "/identifier/{provider}"
tags: ["identifier"]
---

# Create a new identifier for this provider

`POST /identifier/{provider}`

## Request

- Base URL: `https://api.merqube.com`
- URL: `https://api.merqube.com/identifier/{provider}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/merqube/apis/merqube-api/docs/identifier/:provider/post.ts> (a function with typed inputs; its response is checked against the schema)

Create a new identifier for this provider

## Request body

- IdentifierUUIDPost: Identifier for a given provider. Will be referenced via the name field of the Identifier section
  - `display_name` string
  - `index_name` string, required
  - `metric` string
  - `name` string, required: unique name among all other Identifiers of the provider resource type.
  - `namespace` string
  - `num_days` integer: Number of days to disseminate data for
  - `provider_kwargs` union
    - BloombergProviderKwargs: Bloomberg provider custom arguments
      - `post_type` 'EOD' | 'RT' | 'EOD_AND_RT', required: How to post the data to Bloomberg, either the end of day method (EOD), real time method (RT) or both (EOD_AND_RT)
    - ReutersProviderKwargs: Reuters provider custom arguments
      - `post_type` 'EOD' | 'RT' | 'EOD_AND_RT' | 'EOD_AND_RT_COMBINED': How to post the data to Reuters, either the end of day method (EOD), real time method (RT) or both (EOD_AND_RT)
    - SecapiProviderKwargs: Secapi provider custom arguments
      - `metric` string, required
      - `security_name` string, required
      - `security_type` string, required
    - NasdaqProviderKwargs: Nasdaq provider custom arguments
      - `eod_date_delta` integer: How many days to offset the Nasdaq date (T if before 6:30pm EST otherwise T + 1) when getting EOD data from the Index
      - `nasdaq_env` 'testing' | 'production', required: Which Nasdaq environment to send data to
  - `rounding_decimals` integer: If rounding_type=standard, corresponds to number of decimal places to round to. If rounding_type=sigfig, corresponds to number of significant figures to round to.
  - `rounding_type` 'standard' | 'sigfig': Type of rounding to apply to the disseminated data. standard = normal python round(), sigfig = significant figures rounding.
  - `start_date` string, date
  - `ticker` string, required

## Response `200`

OK

- object
  - `id` string: the uuid of this identifier
  - `status` string

## Other responses

- `400`: illegal request body
- `403`: not authorized to perform this operation

---

[API](https://skmtc.dev/merqube/apis/merqube-api.md) - [All operations](https://skmtc.dev/merqube/apis/merqube-api/llms.txt) - [OpenAPI document](https://skmtc.dev/merqube/apis/merqube-api/revisions/20f47ca36587?raw)
