Skip to main content

Enrichment providers

Version: V2
View Markdown

Core can enrich a book identified by ISBN, a public repository or a web page without a provider account. For other inputs, a credential can unlock additional fields or access to a specific service. Coverage depends on the plugins in the selected preset, the classified input each plugin accepts, and the transport it can use.

Sources available without credentials​

The following lookups are included in the stock default preset. External lookups still need outbound network access and are subject to timeouts, rate limits and missing records.

SourceWhat a matching input can return
OpenGraph, microdata and faviconA public page's title, description, preview image, structured JSON-LD and site icon, when available.
oEmbedEmbed data from supported YouTube, Vimeo and X URLs.
Wikipedia and WikidataArticle extracts, entity labels and structured claims. A name search can return descriptive evidence with lower identity confidence.
GitHub and npmPublic GitHub repository or user details. Registry metadata and optional weekly downloads for an npm package.
CrossrefPublication and citation metadata for a recognized DOI.
Open LibraryBook, edition and work metadata by a recognized identifier, including ISBN.
MusicBrainz, Apple Music and SpotifyArtist, release or recording information for supported targets. Spotify can use public oEmbed or URL-derived data for a direct resource without client credentials.
Letterboxd and SteamFilm-page metadata or Steam app details for matching URLs.

The provider catalog also contains payload schemas for arXiv, PubMed, dictionary entries, color palettes, dedicated ISBN records, ENS and NFT metadata. The pinned release has no dedicated lookup implementations for those schemas. Open Library handles ISBN input. To populate the ENS or NFT schema in a fork, supply a plugin and suitable chain/RPC transport. Other schema-only entries include AI summaries and entities, company profiles, Crunchbase, geocoding, Reddit posts, screenshots and Vimeo records. Vimeo oEmbed works independently. The package exports a TVmaze provider that a fork can add to a preset. Provider implementations · Payload schema catalog · Stock bundles

Optional provider credentials​

All eleven integrations below ship in the stock default preset. Use the named operator account to issue credentials. The last column describes what a missing credential means for an eligible input. A provider can also skip an unrelated input even when correctly configured.

Provider and credential issuerCore environmentWhat it enables and how keyless behavior differs
GitHub personal access tokensGITHUB_TOKENA higher allowance for public repository and user lookups. Anonymous access works, and the provider can retry anonymously after a rejected token.
Spotify Developer DashboardSPOTIFY_CLIENT_ID and SPOTIFY_CLIENT_SECRET, optional SPOTIFY_MARKETCreate an app for Web API metadata on tracks, albums, artists, playlists, shows and episodes. Without the pair, a direct resource can still yield a basic Spotify artifact. An ISRC search returns no record.
Etherscan API keysETHERSCAN_API_KEYAuthenticates requests for address balances, transaction counts and available contract/token metadata. The plugin can attempt an address lookup without a key. The upstream response determines coverage.
TMDB account API settingsTMDB_API_KEYFilm or TV details and credits. The plugin skips when the key or a supported target is missing.
CoinGecko API dashboardCOINGECKO_API_KEYA Demo API key authenticates token market-data requests. The plugin can make anonymous requests when the key is absent. Check market fields and lookup status in the returned data.
Google Cloud Console · YouTube Data API v3YOUTUBE_API_KEYEnable the API in your project and issue an API key for video details. Without it, the YouTube Data plugin skips. A separate oEmbed artifact can still supply a title or thumbnail.
Google Cloud Console · Places APIGOOGLE_PLACES_API_KEYEnable Places and issue an API key for business details, ratings and photos on confirmed matches. Without a key the plugin can still derive a name and coordinates from a Maps URL.
X Developer PortalX_BEARER_TOKENIssue a bearer token for profile data. A recognized profile without the token yields auth_failed.
Brandfetch developer accountBRANDFETCH_API_KEYAuthenticates domain lookups for logos, colors and other brand assets. When full data is unavailable the plugin can return a fallback icon.
Podcast Index API accountPODCAST_INDEX_API_KEY and PODCAST_INDEX_API_SECRETAuthenticates feed lookups for podcast metadata. Both values must be present for the plugin to match. An unrecognized feed can return no record.
Canopy API accountCANOPY_API_KEYAuthenticates Amazon product lookups. A supported product URL or short link without a key yields auth_failed.

The runtime maps environment variables to constructor options. Each provider then decides which inputs it can handle and whether a fallback is available. Credential mapping · Spotify fallbacks · X authentication · Canopy authentication

Presets and worker scope​

Package presetProviders
default, customThe full server bundle unless the host supplies an override.
companyOpenGraph, Brandfetch and favicon.
musicOpenGraph, Spotify, MusicBrainz and Apple Music.
cryptoEtherscan and CoinGecko.
academicCrossref and Wikipedia.

The HTTP service maps a request's default or custom selection to its configured default preset. The worker selects its own WORKERS_DEFAULT_PRESET and then applies WORKERS_PROCESSING_SCOPE and any applicable identifier provider plan. A music scope can restrict the artifact types accepted by a worker even when more providers are installed. Preset selection and scope filtering happen separately. Package preset factories · HTTP preset selection · Worker execution

Configure your Core services​

Set credentials in the local environment used by your Core source checkout. Replace both placeholders below with values from the same Spotify app. Edit the local .env file and keep it outside version control.

SPOTIFY_CLIENT_ID=YOUR_SPOTIFY_CLIENT_ID
SPOTIFY_CLIENT_SECRET=YOUR_SPOTIFY_CLIENT_SECRET
SPOTIFY_MARKET=US

Stock Compose forwards the listed provider variables into atom-services and the worker containers. Use the stock port mappings and database credentials only on an isolated development machine. Before starting services on a shared or reachable host, bind published ports to loopback and replace the development database credentials as described in Run a Core node.

Recreate the consumers that should use the changed values from your Core repository root:

docker compose -f docker-compose.yml up -d --force-recreate atom-services workers-classification workers-enrichment

The stock file forwards WORKERS_PROCESSING_SCOPE. To change WORKERS_DEFAULT_PRESET or ATOM_SERVICES_DEFAULT_PRESET in Compose, explicitly pass the selector in the corresponding service's environment. The package can also accept a MUSICBRAINZ_USER_AGENT. Using that setting in a worker fork requires forwarding it through Compose and the worker's environment allowlist. Core Compose environment · Worker settings and allowlist

Shared cache. For an Upstash Redis database, obtain its REST URL and token from the database console. Supply UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN, then pass ATOM_SERVICES_CACHE_PROVIDER=upstash or WORKERS_CACHE_PROVIDER=upstash into each service that should share the cache. Both default to memory. The stock Compose file forwards the credentials and requires an explicit environment entry for either selector. Missing REST credentials with Upstash selected produce an in-memory fallback and a warning. Upstash console · Core cache selection

Search credentials. Core reserves OPENAI_API_KEY, ANTHROPIC_API_KEY and GOOGLE_GENERATIVE_AI_API_KEY for its search tier. Setting one does not register an enrichment provider or turn on a search service. Core credential inventory

Diagnose a missing result​

First check GET /ready on the atom service for the preset's plugin IDs and cache warnings. Send a classified input to POST /v1/enrich, optionally narrowing enrichment.plugins to the provider under test. For a raw URL, send rawInput to POST /v1/process and inspect its enrichment field. Atom services API

ObservationWhat to check
Provider absent from presetCheck the service's selected preset and rebuild the fork after changing its composition. An allowlist can only select registered plugins.
skipped[].reason is not_applicable, filtered or runtime_mismatchCheck the classified identifiers/URL and any required keys, plugin/artifact filters, and server or client runtime respectively. A skip alone cannot identify a bad key.
status: "success" with no artifact from the target pluginA matching provider can return an empty array when no record exists. Look for a skip separately. For a fallback artifact, inspect meta.provider and its actual fields.
errors[].code is auth_failed, rate_limited, upstream_error or timeoutVerify credentials in the service environment, the provider's allowance or service availability as applicable. Use the returned retriable flag and any structured HTTP status or retry delay.
Some records succeededThe engine reports partial when artifacts and errors coexist, and failed when errors leave no artifacts. Inspect the successful artifacts before deciding what to retry.

Use the plugin ID, error code, retry flag and redacted message for diagnostics. Keep tokens, raw URLs carrying credentials and full provider responses out of reports. For a worker job, compare its scope and completion state with the atom's stored artifacts on your self-hosted node. Response redaction · Engine error mapping · Query Core

Applies to V2 · @0xintuition/atom-enrichment 0.1.1