API FoundryForge Experiment 0.2

Platform 0.10

Developer documentation

35 active APIs, one gateway, one authentication scheme, and independent contract and dataset release histories.

Start here

Quickstart

The experiment uses stable paths beneath API Foundry rather than a version folder. During the experimental contract, omit the version header to use the current 0.x contract.

curl "https://www.loganpendragonforge.com/experiments/api-foundry/apis/languages/search?q=spanish" \
  -H "X-Forge-Key: YOUR_API_KEY"

Authentication

Data and account endpoints on the Experiment host require X-Forge-Key. The gateway retains Bearer compatibility for a future host, but this hosting edge strips the standard Authorization header. Keys are random, shown once, and stored only as SHA-256 digests. Status, catalog, plans, documentation, examples, and OpenAPI are public. Public account registration remains disabled.

Independent versioning

Every response reports api_contract_version, dataset_version, and data_refreshed_at. Contract versions track request and response behavior; dataset versions track source refreshes. Contract 1.0.0 remains reserved for the Lab-ready release.

Response envelope

{
  "success": true,
  "data": [],
  "pagination": { "per_page": 25, "total": 1016, "has_more": true },
  "meta": { "request_id": "req_...", "credits_used": 1, "response_ms": 12.41 }
}

Collections support cursor or page pagination according to the dataset and cap pages at 100 records.

Plans, Stripe, and hard quotas

GET /apis/billing/plansGET /apis/billing/subscriptionPOST /apis/billing/checkoutPOST /apis/billing/portalPOST /apis/billing/webhook

The Stripe subscription, one-time credit-pack, signed-webhook, idempotency, customer, portal, and account-entitlement contracts are installed. Billing is intentionally disabled until dedicated Stripe secrets and Price IDs are configured. Automatic overages remain disabled; quotas are hard limits.

Active collection

Dataset APIs

API 01

Units & Measurements

Standardized measurement knowledge and dimension-safe conversion.

GET /apis/apis/unitsGET /apis/apis/units/{id}GET /apis/apis/units/searchGET /apis/apis/units/convertGET /apis/apis/units/categoriesGET /apis/apis/units/systems

Coverage: QUDT · NIST

API 02

Occupations & Careers

Deep, developer-friendly access to occupational and career knowledge.

GET /apis/apis/occupationsGET /apis/apis/occupations/{id}GET /apis/apis/occupations/searchGET /apis/apis/occupations/{id}/skillsGET /apis/apis/occupations/{id}/tasksGET /apis/apis/occupations/{id}/technologyGET /apis/apis/occupations/{id}/related

Coverage: O*NET

API 03

Countries & Geography

A canonical geographic identity layer shared across the Foundry.

GET /apis/apis/geographyGET /apis/apis/geography/countriesGET /apis/apis/geography/countries/{code}GET /apis/apis/geography/countries/searchGET /apis/apis/geography/regionsGET /apis/apis/geography/placesGET /apis/apis/geography/timezonesGET /apis/apis/geography/coverage

Coverage: UN M49 · GeoNames countries, administrative codes, populated places, and time zones · U.S. Census later

API 04

Languages

Normalized language codes, scripts, families, names, directionality, and geographic relationships.

GET /apis/apis/languagesGET /apis/apis/languages/{code}GET /apis/apis/languages/searchGET /apis/apis/languages/familiesGET /apis/apis/languages/scriptsGET /apis/apis/languages/territories

Coverage: IANA Language Subtag Registry · Library of Congress ISO 639-2 · Unicode CLDR 48.2 · Glottolog 5.3

API 05

Currency Knowledge

Current and historical currency identity and lifecycle knowledge without live exchange rates.

GET /apis/apis/currenciesGET /apis/apis/currencies/{code}GET /apis/apis/currencies/searchGET /apis/apis/currencies/historical

Coverage: SIX ISO 4217 Maintenance Agency

API 06

Chemical Elements

Complete periodic-table element knowledge with source-qualified physical properties.

GET /apis/apis/elementsGET /apis/apis/elements/{identifier}GET /apis/apis/elements/searchGET /apis/apis/elements/periodic-tableGET /apis/apis/elements/isotopes

Coverage: NIH PubChem Periodic Table · NIST and IUPAC verification references

API 07

Holidays & Observances

Jurisdiction-aware public holidays and observances with explicit source, category, and date coverage.

GET /apis/apis/holidaysGET /apis/apis/holidays/{id}GET /apis/apis/holidays/searchGET /apis/apis/holidays/coverageGET /apis/apis/holidays/observances

Coverage: Nager.Date public holiday and observance types · OPM verification reference · additional religious and cultural authorities under source review

API 08

Historical Events

Sourced historical events with uncertainty-aware dates, places, people, and relationships.

GET /apis/apis/history/eventsGET /apis/apis/history/events/{id}GET /apis/apis/history/events/searchGET /apis/apis/history/events/range

Coverage: Wikimedia On This Day API and linked source pages

API 09

Historical People

Sourced historical identities, aliases, life dates, relationships, works, and events.

GET /apis/apis/peopleGET /apis/apis/people/{id}GET /apis/apis/people/searchGET /apis/apis/people/{id}/eventsGET /apis/apis/people/{id}/works

Coverage: Wikimedia On This Day API and linked source pages

API 10

Public-Domain Works

Metadata and rights evidence for works that may be reusable in a specified jurisdiction.

GET /apis/apis/worksGET /apis/apis/works/{id}GET /apis/apis/works/searchGET /apis/apis/authors

Coverage: Project Gutenberg machine-readable catalog and item license

API 11

Species & Taxonomy

Expert-reviewed taxonomic names, synonyms, acceptance state, hierarchy, vernaculars, and sourced geography.

GET /apis/apis/speciesGET /apis/apis/species/{id}GET /apis/apis/species/searchGET /apis/apis/species/{id}/taxonomyGET /apis/apis/taxonomy/{id}

Coverage: ITIS · conservation and habitat sources later

API 12

Astronomy

Versioned solar-system, stellar, exoplanet, minor-body, and deep-sky object knowledge.

GET /apis/apis/astronomy/objectsGET /apis/apis/astronomy/objects/{id}GET /apis/apis/astronomy/searchGET /apis/apis/astronomy/planetsGET /apis/apis/astronomy/moonsGET /apis/apis/astronomy/exoplanets

Coverage: NASA and JPL catalogs · IAU references

API 13

Mythology

Source-separated mythological entities, traditions, stories, artifacts, places, and relationships.

GET /apis/apis/mythology/entitiesGET /apis/apis/mythology/entities/{id}GET /apis/apis/mythology/searchGET /apis/apis/mythology/pantheonsGET /apis/apis/mythology/deitiesGET /apis/apis/mythology/creatures

Coverage: Wikidata Query Service with item-level identifiers and descriptions

API 14

Food Ingredient Knowledge

Regulatory and technical knowledge about food substances, additives, identifiers, aliases, and purposes without medical advice.

GET /apis/apis/ingredientsGET /apis/apis/ingredients/{id}GET /apis/apis/ingredients/searchGET /apis/apis/ingredients/{id}/aliases

Coverage: FDA Substances Added to Food · FDA inventories

API 15

U.S. Government Agencies

Canonical federal government organization identity, function, status, websites, and public contacts.

GET /apis/apis/agenciesGET /apis/apis/agencies/{id}GET /apis/apis/agencies/searchGET /apis/apis/agencies/{id}/children

Coverage: Federal Register Agency Directory API · USAGov A-Z contact directory reconciliation · agency-maintained sources · state directories later

API 16

Unified Recalls

Normalized multi-agency product recalls with identifiers, affected scope, status, and source-specific facts.

GET /apis/apis/recallsGET /apis/apis/recalls/{id}GET /apis/apis/recalls/searchGET /apis/apis/recalls/product/{identifier}

Coverage: openFDA · NHTSA · CPSC · USDA

API 17

Building Permit Statistics

Compact authoritative state and county residential building-permit statistics without thousands of municipal connectors.

GET /apis/apis/permitsGET /apis/apis/permits/{id}GET /apis/apis/permits/search

Coverage: U.S. Census Bureau Building Permits Survey

API 18

Government Procurement & RFPs

Searchable normalized public opportunities, awards, agencies, vendors, deadlines, and attachments.

GET /apis/apis/opportunitiesGET /apis/apis/opportunities/{id}GET /apis/apis/opportunities/searchGET /apis/apis/awardsGET /apis/apis/vendors

Coverage: USAspending API · SAM.gov connector when API key is configured

API 19

Classification & Identifier Crosswalks

Versioned classification hierarchies and mappings beginning with complete 2022 NAICS.

GET /apis/apis/classificationsGET /apis/apis/classifications/{scheme}/{code}GET /apis/apis/classifications/searchGET /apis/apis/classifications/crosswalk

Coverage: U.S. Census · BLS · O*NET · official scheme maintainers

API 20

Government Grants

Normalized grant opportunities, assistance listings, eligibility, deadlines, agencies, and awards.

GET /apis/apis/grantsGET /apis/apis/grants/{id}GET /apis/apis/grants/searchGET /apis/apis/grants/awards

Coverage: Grants.gov · SAM.gov Assistance Listings · USAspending

API 21

Education Institutions & Programs

Institutions, campuses, programs, credentials, accreditation references, costs, and sourced outcomes.

GET /apis/apis/education/institutionsGET /apis/apis/education/institutions/{id}GET /apis/apis/education/programsGET /apis/apis/education/search

Coverage: IPEDS · College Scorecard · Department of Education accreditation data

API 22

Business & Organization Knowledge

Public organization identity, aliases, filings, regulators, industry codes, and parent relationships, beginning with a narrow U.S. scope.

GET /apis/apis/organizationsGET /apis/apis/organizations/{id}GET /apis/apis/organizations/searchGET /apis/apis/organizations/{id}/filings

Coverage: SEC EDGAR · public government registries · agency-specific identifiers

API 23

Food & Nutrition

Food identity, nutrient composition, serving units, branded products, and source-specific measurements separate from ingredient regulation.

GET /apis/apis/foodsGET /apis/apis/foods/{id}GET /apis/apis/foods/searchGET /apis/apis/nutrients

Coverage: USDA FoodData Central

API 24

Laws, Regulations & Government Publications

Versioned federal legal and regulatory documents, effective dates, agencies, citations, and amendment relationships without legal advice.

GET /apis/apis/legal/documentsGET /apis/apis/legal/documents/{id}GET /apis/apis/legal/searchGET /apis/apis/legal/citations/{citation}

Coverage: Federal Register API · eCFR API

API 25

Environmental & Hazard Data

Complete source-faithful U.S. disaster declaration and affected-area records without predictive risk claims.

GET /apis/apis/environment/eventsGET /apis/apis/environment/searchGET /apis/apis/disasters/{id}

Coverage: FEMA OpenFEMA v2

API 26

Global Aviation Facilities

Global airports, runways, radio frequencies, navigation aids, countries, and regions.

GET /apis/apis/aviationGET /apis/apis/aviation/airportsGET /apis/apis/aviation/search

Coverage: OurAirports nightly public-domain CSV files

API 27

Economic Indicators

Searchable definitions and methodologies for global development indicators.

GET /apis/apis/economic-indicatorsGET /apis/apis/economic-indicators/search

Coverage: World Bank Indicators API

API 28

Active Weather Alerts

Current official U.S. weather watches, warnings, advisories, and statements.

GET /apis/apis/weather-alertsGET /apis/apis/weather-alerts/search

Coverage: National Weather Service API

API 29

Earthquakes

Recent global earthquake events with magnitudes, locations, geometry, products, and review state.

GET /apis/apis/earthquakesGET /apis/apis/earthquakes/search

Coverage: USGS Earthquake Hazards Program

API 30

Clinical Trials Registry

Searchable registered study protocols, status, interventions, conditions, sponsors, and locations without medical advice.

GET /apis/apis/clinical-trialsGET /apis/apis/clinical-trials/search

Coverage: ClinicalTrials.gov API v2 full JSON export

API 31

Public Companies & SEC Filings

Searchable U.S. public filer identities and their current SEC submission histories.

GET /apis/apis/public-companiesGET /apis/apis/public-companies/search

Coverage: SEC EDGAR submissions bulk archive · SEC exchange ticker catalog

API 32

Nonprofits & Tax-Exempt Organizations

Searchable IRS-recognized tax-exempt organization identities, classifications, filing requirements, and ruling metadata.

GET /apis/apis/nonprofit-organizationsGET /apis/apis/nonprofit-organizations/search

Coverage: IRS Exempt Organizations Business Master File Extract

API 33

U.S. Population & Demographics

Current Census population estimates, components of change, and age/sex/race/Hispanic-origin observations for national, state, county, and subcounty geographies.

GET /apis/apis/population-demographicsGET /apis/apis/population-demographics/search

Coverage: U.S. Census Bureau Population Estimates Program Vintage 2025

API 34

U.S. Energy Data

Searchable EIA electricity series with complete published observations and source metadata.

GET /apis/apis/energy-dataGET /apis/apis/energy-data/search

Coverage: U.S. Energy Information Administration electricity bulk file

API 35

Vehicles & VIN Reference

Manufacturer-reported vehicle makes, models, manufacturers, vehicle types, and VIN-decoding variable definitions.

GET /apis/apis/vehiclesGET /apis/apis/vehicles/search

Coverage: NHTSA vPIC API

Refresh and reconciliation

Every 5 minutes — active weather alerts and rolling earthquakesEvery 4 hours — government grants and procurementDaily — recalls, aviation, laws, public companies, energy, business organizations, and disaster declarationsWeekly — currencies and clinical trialsMonthly — nonprofits, vehicles, languages, holidays, ingredients, agencies, species, astronomy, economics, permits, and public-domain worksQuarterly — occupations, geography, history, people, mythology, education, and other slow datasetsYearly — Census population/demographics and static verification datasets

The serialized due-check activates only validated releases. Lab promotion changes the stable application pointer, so the same jobs and history move with the product.

Provenance and rights

Records retain their source, source record identifier, retrieval time, source update marker, license, snapshot hash, normalization version, and commercial-readiness state. Project Gutenberg records are metadata only, store no full text, and explicitly require item-level rights verification.

Errors

UNAUTHORIZEDINVALID_API_KEYSUSPENDED_ACCOUNTRATE_LIMIT_EXCEEDEDMONTHLY_QUOTA_EXCEEDEDINVALID_PARAMETERSRECORD_NOT_FOUNDBILLING_UNAVAILABLEBILLING_CONFIGURATION_ERRORDATASET_UPDATINGINTERNAL_ERROR