← Back to marketplace

MemoryAPI Landing Page

external

x402-powered APIs for AI agents: persistent semantic memory, document search, and translation. Pay per query in USDC on Base mainnet. MCP compatible.

by Memoryapi50 endpoints100% uptime335ms avg

Price

from $0.0010

up to $0.0500 per request

Network

base

Category

ai

On-chain txns

59

Uptime

100%

Avg latency

335ms

Checks

77

Status

Healthy

Base URL

https://api.memoryapi.org

Endpoints (50)

Discovered from on-chain x402 payment activity. Prices shown are per-call in USDC.

POST/x402/bio/compound
base$0.0050

Drug/compound data from PubChem (NIH) — CID, IUPAC name, molecular formula, molecular weight, SMILES, InChI, description, and synonyms.

POST/x402/bio/druginfo
base$0.0050

Drug label, safety info, adverse events, and recall data from OpenFDA — indications, warnings, dosage, interactions.

POST/x402/bio/targets
base$0.0050

Drug target and bioactivity data from ChEMBL (EMBL-EBI) — ChEMBL ID, max clinical phase, molecular properties, indication class.

POST/x402/clinical/stats
base$0.0050

ClinicalTrials.gov — aggregate statistics for a condition: counts by status, phase, and top sponsors.

POST/x402/clinical/study
base$0.0050

ClinicalTrials.gov — get full details of a specific trial by NCT ID including eligibility, outcomes, and locations.

POST/x402/clinical/trials
base$0.0050

ClinicalTrials.gov — search clinical trials by condition, intervention, sponsor, status, or phase.

POST/x402/cron/cancel
base$0.0050

Cancel an active cron schedule to stop future executions.

POST/x402/docs/query
base$0.0100

Semantically search within an uploaded document using natural language

POST/x402/docs/upload
base$0.0500

Upload and ingest a PDF, TXT, or Markdown document for semantic search

POST/x402/econ/energy
base$0.0010

Energy price data from EIA. WTI crude oil, Brent crude, natural gas (Henry Hub), and U.S. retail gasoline prices.

POST/x402/econ/inflation
base$0.0010

U.S. CPI inflation data from BLS. Tracks all items, core, food, energy, shelter, and medical care indices.

POST/x402/econ/jobs
base$0.0010

U.S. labor market data from BLS. Unemployment rate, nonfarm payrolls, job openings, quits rate, and wages.

POST/x402/econ/macro
base$0.0010

Macroeconomic indicators from FRED (St. Louis Fed). GDP, Fed funds rate, Treasury yields, housing starts, retail sales.

POST/x402/euro/eurostat
base$0.0010

Eurostat EU economic statistics — GDP, inflation, unemployment, and trade data for EU member states.

POST/x402/euro/money
base$0.0010

ECB monetary data — M3 money supply for the Euro Area or TARGET2 interbank balances.

POST/x402/euro/rates
base$0.0010

ECB exchange rates for EUR against major currencies, or ECB key interest rates.

POST/x402/filing/earnings
base$0.0100

Get structured financial data from SEC XBRL filings — revenue, net income, EPS, assets, and more.

POST/x402/filing/events
base$0.0100

Get 8-K material event filings — M&A activity, leadership changes, earnings releases, and other material disclosures.

POST/x402/filing/insider
base$0.0100

Get insider trading activity (Form 4) — executive and director stock purchases and sales.

POST/x402/filing/recent
base$0.0010

List recent SEC filings for any public company. Filter by form type (10-K, 10-Q, 8-K, 4, etc).

POST/x402/food/compare
base$0.0010

Compare nutrition between multiple foods side-by-side by USDA FDC IDs.

POST/x402/food/nutrition
base$0.0010

Full nutrition profile for a specific food by USDA FDC ID — macros, vitamins, minerals.

POST/x402/food/search
base$0.0010

Search USDA FoodData Central — find foods by name with nutrition macros.

POST/x402/geo/geocode
base$0.0010

Forward and reverse geocoding via OpenStreetMap Nominatim. Convert addresses to coordinates or coordinates to addresses.

POST/x402/geo/timezone
base$0.0010

Timezone lookup by coordinates, IP address, or country code/name. Includes country details.

POST/x402/geo/weather
base$0.0010

Current weather conditions and multi-day forecast for any location. Powered by Open-Meteo.

POST/x402/global/gdp
base$0.0010

IMF GDP & macroeconomic indicators — GDP growth, inflation, government debt, current account, GDP per capita for 180+ countries.

POST/x402/global/oecd
base$0.0010

OECD country comparison data — long-term interest rates, trade balance, and CPI for G7 and major economies.

POST/x402/global/worldbank
base$0.0010

World Bank development indicators — GDP, population, inflation, unemployment, GDP per capita, Gini index for major economies.

POST/x402/health/global
base$0.0010

WHO Global Health Observatory — life expectancy, obesity, alcohol, air pollution by country.

POST/x402/health/grants
base$0.0050

NIH research grants — funded projects with award amounts, PIs, organizations, and abstracts. Filter by query, fiscal year, and institution.

POST/x402/health/protein
base$0.0050

Human Protein Atlas — gene/protein expression by tissue and brain region.

POST/x402/health/variants
base$0.0050

ClinVar genetic variants — pathogenic/benign variants for any gene with clinical significance and conditions.

POST/x402/legal/case
base$0.0100

Get detailed information about a specific court case or docket by ID or name.

POST/x402/legal/company
base$0.0100

Find all federal court cases involving a specific company — antitrust, securities, IP, employment, and more.

POST/x402/legal/search
base$0.0100

Search federal court opinions and cases via CourtListener / RECAP Archive.

POST/x402/memory
base$0.0010

Store a memory for an AI agent

POST/x402/nasa/apod
base$0.0010

NASA Astronomy Picture of the Day — daily space imagery with title and explanation.

POST/x402/nasa/donki
base$0.0010

NASA DONKI space weather — solar flares, coronal mass ejections (CME), and geomagnetic storms.

POST/x402/nasa/neo
base$0.0010

NASA Near Earth Objects — asteroid tracking data including size, hazard status, closest approach distance and velocity.

POST/x402/news/search
base$0.0010

Search The Guardian news articles with optional section and date filtering.

POST/x402/news/top
base$0.0010

Hacker News top stories — titles, URLs, scores, authors, and comment counts.

POST/x402/news/trending
base$0.0010

Trending news combining Hacker News and The Guardian for a given topic.

POST/x402/predict/market
base$0.0010

Get detailed information for a specific Polymarket prediction market including prices, outcomes, and trading volume.

POST/x402/predict/markets
base$0.0010

Browse Polymarket prediction markets. Filter by category (crypto, politics, sports, economics, science, entertainment, pop-culture), search by keyword, or set limit.

POST/x402/predict/trending
base$0.0010

Get what prediction markets are betting on right now. Trending markets from Polymarket and Manifold by volume/liquidity.

POST/x402/property/market
base$0.0010

US housing market indicators — housing starts, permits, home prices, mortgage rates, Case-Shiller index.

POST/x402/property/prices
base$0.0010

US home price data — national median (FRED) or metro-level Zillow ZHVI. YoY change and 12-month history.

POST/x402/property/rentals
base$0.0010

US rental market data — BLS rent CPI indices from FRED. National rent index, YoY change.

POST/x402/translate
base$0.0030

Translate text between 11 languages — EN ES FR DE IT PT ZH JA AR RU KO

Payment

Protocolx402 (direct payment, USDC)
Networkbase

How to call

Via APIHub (recommended)No wallet · pay with credits · gasless
# one-time setup
npx @apihubio/cli register
npx @apihubio/cli topup 10

# call it
npx @apihubio/cli call https://api.memoryapi.org \
  -X POST \
  -d '{ /* check provider docs for input */ }'

# or save it to Claude/Cursor/Codex
npx @apihubio/cli install
npx @apihubio/cli add https://api.memoryapi.org
APIHub pays the provider on your behalf and debits your credit balance for the exact amount. No wallet setup, no gas, no per-call signing.
Via direct x402 (advanced)Bring your own wallet
import { wrapFetchWithPayment } from "@x402/fetch";
import { createWalletClient, http } from "viem";
import { privateKeyToAccount } from "viem/accounts";
import { base } from "viem/chains";

const account = privateKeyToAccount("0xYOUR_PRIVATE_KEY");
const client = createWalletClient({ account, chain: base, transport: http() });
const x402Fetch = wrapFetchWithPayment(client);

const res = await x402Fetch("https://api.memoryapi.org", {
  method: "POST",
  headers: { "Content-Type": "application/json" },
  body: JSON.stringify({ /* check provider docs for input */ }),
});
const data = await res.json();
Requires USDC on Base and gas on each call. The @x402/fetch client signs EIP-3009 transferWithAuthorization for each 402 response and retries.

This is an external service not operated by APIHub. Listing data is sourced from public on-chain records and third-party indexes. Payment goes directly to the service provider via the x402 protocol. APIHub does not guarantee availability, accuracy, or quality of external services.