Skip to content
Back to skills

2578 Endpoints Metadata 0f0f0e74

ASecurity

**URL:** `GET https://data.financialresearch.gov/hf/v1/metadata/mnemonics`

  • 9 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added October 11, 2026
datapythongoapi

Works with

  • api

Security analysis

A100/100

Scanned October 11, 2026

npx -y skills add tools-only/X-Skills --skill 2578-endpoints-metadata_0f0f0e74 --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of 2578 Endpoints Metadata 0f0f0e74?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for 2578 Endpoints Metadata 0f0f0e74
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/tools-only-2578-endpoints-metadata-0f0f0e74/badge)](https://www.skillsdirectory.com/skills/tools-only-2578-endpoints-metadata-0f0f0e74)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

SKILL.md
# Metadata Endpoints

## 1. List Mnemonics — `/metadata/mnemonics`

**URL:** `GET https://data.financialresearch.gov/hf/v1/metadata/mnemonics`

Returns all series identifiers available through the API.

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `dataset` | string | No | Filter by dataset key: `fpf`, `tff`, `scoos`, `ficc` |
| `output` | string | No | `by_dataset` — returns a hash grouped by dataset |

### Examples

```python
import requests
BASE = "https://data.financialresearch.gov/hf/v1"

# All mnemonics (flat list)
resp = requests.get(f"{BASE}/metadata/mnemonics")
mnemonics = resp.json()
# Returns: ["FPF-ALLQHF_CDSDOWN250BPS_P5", "FPF-ALLQHF_CDSDOWN250BPS_P50", ...]

# Mnemonics for a single dataset with names
resp = requests.get(f"{BASE}/metadata/mnemonics", params={"dataset": "fpf"})
# Returns: [{"mnemonic": "FPF-ALLQHF_CDSDOWN250BPS_P5", "series_name": "Stress test: CDS spreads decrease 250 basis points net impact on NAV (5th percentile fund)"}, ...]

# All mnemonics grouped by dataset
resp = requests.get(f"{BASE}/metadata/mnemonics", params={"output": "by_dataset"})
grouped = resp.json()
# Returns: {"ficc": [{mnemonic, series_name}, ...], "fpf": [...], ...}
```

---

## 2. Single Series Query — `/metadata/query`

**URL:** `GET https://data.financialresearch.gov/hf/v1/metadata/query`

Returns full metadata for a single mnemonic.

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `mnemonic` | string | **Yes** | The series mnemonic |
| `fields` | string | No | Comma-separated list of fields to retrieve. Use `/` to access subfields (e.g., `release/long_name`) |

### Metadata Fields

The metadata object includes these top-level fields (with subfields):

| Field | Subfields |
|-------|-----------|
| `mnemonic` | — |
| `description` | `name`, `description`, `notes`, `vintage_approach`, `vintage`, `subsetting`, `subtype` |
| `schedule` | `observation_period`, `observation_frequency`, `seasonal_adjustment`, `start_date`, `last_update` |
| `release` | `long_name`, `short_name`, and other release-level metadata |

### Examples

```python
# Full metadata
resp = requests.get(f"{BASE}/metadata/query", params={
    "mnemonic": "fpf-allqhf_cdsup250bps_p5"
})
meta = resp.json()
print(meta["description"]["name"])
print(meta["schedule"]["start_date"])
print(meta["schedule"]["observation_frequency"])

# Specific subfield only
resp = requests.get(f"{BASE}/metadata/query", params={
    "mnemonic": "fpf-allqhf_cdsup250bps_p5",
    "fields": "release/long_name"
})
# Returns: {"release": {"long_name": "Hedge Fund Aggregated Statistics from SEC Form PF Filings"}}

# Multiple fields
resp = requests.get(f"{BASE}/metadata/query", params={
    "mnemonic": "fpf-allqhf_cdsup250bps_p5",
    "fields": "description/name,schedule/start_date,schedule/observation_frequency"
})
```

---

## 3. Series Search — `/metadata/search`

**URL:** `GET https://data.financialresearch.gov/hf/v1/metadata/search`

Full-text search across all metadata fields. Supports wildcards.

### Parameters

| Parameter | Type | Required | Description |
|-----------|------|----------|-------------|
| `query` | string | **Yes** | Search string. Supports `*` (multi-char wildcard) and `?` (single-char wildcard) |

### Response Fields

Each result object contains:

| Field | Description |
|-------|-------------|
| `mnemonic` | Series identifier (or `"none"` for dataset-level metadata) |
| `dataset` | Dataset key (`fpf`, `tff`, `scoos`, `ficc`) |
| `field` | Which metadata field matched (e.g., `description/name`) |
| `value` | The matched field value |
| `type` | Data type (`str`, etc.) |

### Examples

```python
# Find series containing "leverage" anywhere
resp = requests.get(f"{BASE}/metadata/search", params={"query": "*leverage*"})
results = resp.json()
for r in results:
    print(r["mnemonic"], r["field"], r["value"])

# Find series starting with "Fund"
resp = requests.get(f"{BASE}/metadata/search", params={"query": "Fund*"})

# Find by exact dataset name
resp = requests.get(f"{BASE}/metadata/search", params={"query": "FICC*"})

# Search for stress test series
resp = requests.get(f"{BASE}/metadata/search", params={"query": "*stress*"})

# Get unique mnemonics from search results
results = resp.json()
mnemonics = list({r["mnemonic"] for r in results if r["mnemonic"] != "none"})
```

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.