npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@datafire/openfigi

v3.0.0

Published

DataFire integration for OpenFIGI API

Readme

@datafire/openfigi

Client library for OpenFIGI API

Installation and Usage

npm install --save @datafire/openfigi
let openfigi = require('@datafire/openfigi').create({
  ApiKeyAuth: ""
});

.then(data => {
  console.log(data);
});

Description

A free & open API for FIGI discovery.

Actions

mapping.post

Allows mapping from third-party identifiers to FIGIs.

openfigi.mapping.post({}, context)

Input

Output

mapping.values.key.get

Get values for enum-like fields.

openfigi.mapping.values.key.get({
  "key": ""
}, context)

Input

  • input object
    • key required string (values: idType, exchCode, micCode, currency, marketSecDes, securityType, securityType2): Key of MappingJob for which to get possible values.

Output

  • output object
    • values array
      • items string

Definitions

BulkMappingJob

BulkMappingJobResult

FigiResult

  • FigiResult object
    • compositeFIGI string
    • exchCode string
    • figi string
    • marketSector string
    • metadata string: Exists when API is unable to show non-FIGI fields.
    • name string
    • securityDescription string
    • securityType string
    • securityType2 string
    • shareClassFIGI string
    • ticker string
    • uniqueID string
    • uniqueIDFutOpt string

MappingJob

  • MappingJob object: For V2: securityType2 is required when idType is BASE_TICKER or ID_EXCH_SYMBOL. expiration is required when securityType2 is Option or Warrant. maturity is required when securityType2 is Pool.
    • contractSize NullableNumberInterval
    • coupon NullableNumberInterval
    • currency string
    • exchCode string
    • expiration NullableDateInterval
    • idType required string (values: ID_ISIN, ID_BB_UNIQUE, ID_SEDOL, ID_COMMON, ID_WERTPAPIER, ID_CUSIP, ID_BB, ID_ITALY, ID_EXCH_SYMBOL, ID_FULL_EXCHANGE_SYMBOL, COMPOSITE_ID_BB_GLOBAL, ID_BB_GLOBAL_SHARE_CLASS_LEVEL, ID_BB_SEC_NUM_DES, ID_BB_GLOBAL, TICKER, ID_CUSIP_8_CHR, OCC_SYMBOL, UNIQUE_ID_FUT_OPT, OPRA_SYMBOL, TRADING_SYSTEM_IDENTIFIER, ID_CINS, ID_SHORT_CODE, BASE_TICKER, VENDOR_INDEX_CODE)
    • idValue required string
    • includeUnlistedEquities boolean
    • marketSecDes string
    • maturity NullableDateInterval
    • micCode string
    • optionType string (values: Put, Call)
    • securityType string
    • securityType2 string
    • stateCode string (values: AB, AC, AC, AH, AK, AL, AM, AR, AS, AT, AZ, BC, BJ, CA, CB, CO, CQ, CT, CZ, DC, DE, EH, FH, FI, FJ, FL, FO, FS, GA, GD, GF, GM, GS, GU, GX, GZ, HA, HB, HE, HG, HI, HI, HL, HN, HO, HS, IA, ID, IG, IK, IL, IN, IT, JL, JS, JX, KA, KC, KN, KO, KS, KT, KU, KY, LA, LN, MA, MB, MD, ME, ME, MG, MI, MN, MO, MS, MT, MZ, NB, NC, ND, NE, NG, NH, NJ, NL, NM, NM, NN, NR, NS, NS, NS, NT, NU, NV, NW, NX, NY, OH, OK, ON, ON, OR, OS, OT, OT, OY, PA, PE, PR, QC, QH, QL, RI, SA, SA, SC, SC, SD, SD, SH, SI, SK, SN, SN, ST, SX, SZ, TA, TG, TJ, TK, TN, TS, TT, TT, TX, TY, UT, VA, VI, VI, VT, WA, WA, WI, WK, WV, WY, XJ, XZ, YA, YN, YN, YT, YU, ZJ)
    • strike NullableNumberInterval

MappingJobResult

MappingJobResultFigiList

  • MappingJobResultFigiList object

MappingJobResultFigiNotFound

  • MappingJobResultFigiNotFound object
    • error string

NullableDateInterval

  • NullableDateInterval array: At least one entry should be non-null.
    • items string

NullableNumberInterval

  • NullableNumberInterval array: At least one entry should be non-null.
    • items number