It starts innocently enough. You need a dropdown list of countries for a user registration form. "I'll just grab a JSON file and drop it in the project," you think. It's fast, it works, and you move on to the next task. But this simple shortcut is a form of technical debt that, when repeated across projects and microservices, grows into a data management nightmare.
This static, slow-changing, foundational data—country codes, currencies, languages, product categories, store locations—is known as reference data. It's the essential context that makes your transactional data meaningful. And managing it by hand is a recipe for inconsistency, inefficiency, and errors.
There’s a better way. It's time to stop managing static datasets in every application and embrace a centralized solution.
When you hardcode a list of ISO codes or copy-paste a CSV of currencies into your app, you're creating future problems for your team and your entire organization.
The solution to this chaos is to treat reference data like any other critical component of your infrastructure: manage it centrally and expose it through a clean, reliable API.
By adopting a reference data API, you immediately establish a single source of truth. Every application, from the legacy monolith to the latest serverless function, queries the same endpoint.
This approach transforms data management:
This is precisely the problem we built reference.do to solve. We provide a simple, powerful, and reliable API for all your reference data needs.
Stop managing static datasets in every application. Access, query, and integrate standard and custom reference data through one simple, reliable API.
Getting started is incredibly straightforward. Instead of wrestling with a local JSON file, you can fetch a complete, up-to-date list of world currencies with a few lines of code.
A robust reference data strategy needs to handle more than just public datasets. While reference.do provides a wide range of standard datasets out-of-the-box—like ISO codes for countries (3166), currencies (4217), and languages (639)—its real power lies in its flexibility.
You can upload, manage, version, and query your own proprietary reference datasets right alongside our standard public ones.
Imagine managing:
All of this can be managed in a single platform and consumed through the same simple API, providing a unified data layer for your entire organization.
Hardcoding data is a short-term fix that creates long-term pain. By centralizing your foundational datasets with a service like reference.do, you eliminate inconsistencies, simplify maintenance, and empower your developers to move faster.
Stop the copy-paste cycle. Establish a single source of truth for your organization and get your data on demand.
Ready to automate your reference data management? Get started with reference.do today.
import { Do } from '@do-inc/sdk';
const an = new Do(process.env.DO_API_KEY);
// Get a list of all ISO 4217 currencies
const currencies = await an.reference.get('iso-4217');
console.log(currencies);
/*
=> [
{ "code": "USD", "name": "United States Dollar", "symbol": "$" },
{ "code": "EUR", "name": "Euro", "symbol": "€" },
{ "code": "JPY", "name": "Japanese Yen", "symbol": "¥" },
...
]
*/