Edition:

Editor-in-Chief: Greg · No investment advice

Search

Search the record

Home

The world through technology and finance

TEXXR API v1

API Reference

News intelligence API built on 1.2M+ documents spanning over a decade. Signal detection, knowledge graph queries, semantic search, and entity intelligence.

Base URL
https://texxr.com/api/v1
Auth header
X-API-Key
Rate limit
30 requests a minute
Free tier
1,000 credits

Need a key? Get one free at Pulse →

Getting started

1. Get your API key

Sign in at /pulse with your email and generate a key. Free accounts start with 1,000 credits. Your key is shown once: save it straight away.

2. Make your first request

Every request needs your key in the X-API-Key header. Start with a cheap call:

# 1 credit: what is in the corpus?
curl -H "X-API-Key: YOUR_KEY" https://texxr.com/api/v1/corpus/stats

# 5 credits: one day’s signals
curl -H "X-API-Key: YOUR_KEY" https://texxr.com/api/v1/signals/day/2026-03-11

3. Read the response

Every response has the same envelope:

{
  "success": true,
  "data": { ... },
  "meta": {
    "cached": false,
    "execution_time_ms": 45
  }
}

The response headers track credits: X-Credit-Cost, X-Credit-Balance and X-Cache (a cached answer is instant). An error returns "success": false and costs nothing.

Credit costs

1 creditArticles, corpus stats, dates, patterns, system
2 creditsEntity profiles, knowledge graph, insights, similar search
5 creditsSignals for a day, semantic search, detection, analysis

Articles 1 credit

Core article data access

GET /articles

List articles

Paginated article listing with date, text, and entity filters.

NameInTypeDefaultDescription
datequerystring (date)Exact date filter (YYYY-MM-DD)
date_afterquerystring (date)Articles after this date (exclusive)
date_beforequerystring (date)Articles before this date (exclusive)
searchquerystringText search in headline and description
entityquerystringFilter by entity name (searches all entity types)
entity_typequerycompanies | people | products | technologiesRestrict entity filter to specific type One of companies, people, products, technologies.
sortquerydate | positiondateSort order One of date, position.
limitqueryinteger50
offsetqueryinteger0
curl -X GET \
  "https://texxr.com/api/v1/articles?date=2025-01-01&date_after=2025-01-01&date_before=2025-01-01&search=artificial intelligence&entity=OpenAI&entity_type=companies&sort=date&limit=50&offset=0" \
  -H "X-API-Key: YOUR_API_KEY"

GET /articles/{id}

Get article detail

Single article with entities, related coverage, and knowledge graph edges.

NameInTypeDefaultDescription
id *pathinteger
curl -X GET \
  "https://texxr.com/api/v1/articles/12345" \
  -H "X-API-Key: YOUR_API_KEY"

GET /corpus/stats

Corpus statistics

Total articles, date range, edge and embedding counts. Cached 24h.

curl -X GET \
  "https://texxr.com/api/v1/corpus/stats" \
  -H "X-API-Key: YOUR_API_KEY"

Signals 5 credits

Statistical signal detection (Market Pulse)

GET /signals/day/{date}

Day-level signal detection

Statistical signal detection for a single day. Returns entity clusters ranked by signal strength with z-scores, coverage silences, co-occurrence anomalies, edge profile with baselines, and top articles. Cached 1 hour.

NameInTypeDefaultDescription
date *pathstring (date)Date in YYYY-MM-DD format
cluster_limitqueryinteger10Max clusters to return
curl -X GET \
  "https://texxr.com/api/v1/signals/day/example_date?cluster_limit=10" \
  -H "X-API-Key: YOUR_API_KEY"

GET /signals/dates

Available dates

Date range with article counts. Cached 1 hour.

NameInTypeDefaultDescription
recentqueryinteger30Number of recent dates to return
curl -X GET \
  "https://texxr.com/api/v1/signals/dates?recent=30" \
  -H "X-API-Key: YOUR_API_KEY"

Entity 2 credits

Entity intelligence and profiles

GET /entity/{name}/profile

Entity profile

Comprehensive entity profile with coverage stats, momentum metrics, quarterly timeseries, top sources, related entities, recent articles, and knowledge graph edges. Cached 4 hours.

NameInTypeDefaultDescription
name *pathstringEntity name (e.g., "OpenAI", "Tim Cook")
articles_limitqueryinteger10Number of recent articles to include
curl -X GET \
  "https://texxr.com/api/v1/entity/OpenAI/profile?articles_limit=10" \
  -H "X-API-Key: YOUR_API_KEY"

Graph 2 credits

Knowledge graph queries

GET /graph/entity/{name}

Entity edges

Knowledge graph edges involving an entity, with optional predicate and date filters.

NameInTypeDefaultDescription
name *pathstring
predicatequerystringFilter by predicate label (e.g., launch, partnership, financial)
sincequerystring (date)Edges after this date
limitqueryinteger20
curl -X GET \
  "https://texxr.com/api/v1/graph/entity/OpenAI?limit=20" \
  -H "X-API-Key: YOUR_API_KEY"

GET /graph/between/{entity_a}/{entity_b}

Edges between entities

Knowledge graph edges connecting two specific entities.

NameInTypeDefaultDescription
entity_a *pathstring
entity_b *pathstring
sincequerystring (date)
limitqueryinteger50
curl -X GET \
  "https://texxr.com/api/v1/graph/between/example_entity_a/example_entity_b?limit=50" \
  -H "X-API-Key: YOUR_API_KEY"

POST /graph/search

Semantic edge search

Search knowledge graph edges by semantic similarity to query text.

Request body (required)

  • query * string Search text
  • limit integer
  • predicate string Filter by predicate label
  • status confirmed | denied | failed | rumored
  • threshold number Similarity threshold
curl -X POST \
  "https://texxr.com/api/v1/graph/search" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "AI safety regulation",
  "limit": 20,
  "predicate": "example_predicate",
  "status": "example_status",
  "threshold": 20
}'

GET /graph/arc/{entity_name}

Entity predicate evolution

Per-period predicate distribution, semantic centroid drift, and top co-entities. Used for regime detection and trend analysis.

NameInTypeDefaultDescription
entity_name *pathstring
granularityqueryquarter | monthquarter One of quarter, month.
sincequerystring (date)
curl -X GET \
  "https://texxr.com/api/v1/graph/arc/example_entity_name?granularity=quarter" \
  -H "X-API-Key: YOUR_API_KEY"

GET /graph/thread/{entity_name}

Entity edge timeline

Chronological edge timeline with event flags (FIRST_EDGE, STATUS_CHANGE, CONVERGENCE, ENTERED). Interleaves edges with their linked articles.

NameInTypeDefaultDescription
entity_name *pathstring
withquerystringCo-entity filter
sincequerystring (date)
limitqueryinteger50
curl -X GET \
  "https://texxr.com/api/v1/graph/thread/example_entity_name?limit=50" \
  -H "X-API-Key: YOUR_API_KEY"

GET /graph/status-flow

Edge status lifecycle

Distribution of edge statuses over time, long-pending edges, recent confirmations, and recent failures/denials.

NameInTypeDefaultDescription
entityquerystring
sincequerystring (date)
verbosequerybooleanFalse
curl -X GET \
  "https://texxr.com/api/v1/graph/status-flow?entity=OpenAI&verbose=False" \
  -H "X-API-Key: YOUR_API_KEY"

POST /graph/web

Entity constellation

Find knowledge graph connections between multiple entities. Detects narrative tensions (contradictory predicates on same entity).

Request body (required)

  • entities * string[] Entity names to find connections between
  • since string (date)
  • from_day string (date) Auto-extract top entities from day analysis
curl -X POST \
  "https://texxr.com/api/v1/graph/web" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entities": [
    "OpenAI",
    "Google"
  ],
  "since": "example_since",
  "from_day": "example_from_day"
}'

Detection 5 credits

Pattern detection (concept, impact, temporal, sentiment, AI-adjacency)

POST /detect/concept

Concept search

Semantic concept matching using vector embeddings.

Request body (required)

  • query * string Search concept
  • threshold number Distance threshold
  • limit integer
  • date_range string[]
curl -X POST \
  "https://texxr.com/api/v1/detect/concept" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "AI safety regulation",
  "threshold": 20,
  "limit": 20,
  "date_range": "2025-01-01"
}'

POST /detect/impact

Impact scoring

Score articles by page position and related coverage count.

Request body (required)

  • date string (date)
  • date_range string[]
  • min_score number
  • limit integer
curl -X POST \
  "https://texxr.com/api/v1/detect/impact" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "date": "2025-01-01",
  "date_range": "2025-01-01",
  "min_score": 20,
  "limit": 20
}'

POST /detect/temporal

Temporal patterns

Detect temporal patterns: first appearances, coverage inflections, and topic crossovers.

Request body (required)

  • topic * string
  • type first_mover | inflection | crossover
  • date_range string[]
  • limit integer
curl -X POST \
  "https://texxr.com/api/v1/detect/temporal" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "topic": "example_topic",
  "type": "example_type",
  "date_range": "2025-01-01",
  "limit": 20
}'

POST /detect/sentiment

Sentiment analysis

Keyword-based sentiment heuristics. Set `shift: true` to track sentiment changes over time.

Request body (required)

  • query string
  • article_ids integer[]
  • date_range string[]
  • filter positive | negative | neutral
  • shift boolean
  • periods integer
  • limit integer
curl -X POST \
  "https://texxr.com/api/v1/detect/sentiment" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "AI safety regulation",
  "article_ids": "example_article_ids",
  "date_range": "2025-01-01",
  "filter": "example_filter",
  "shift": true,
  "periods": 20,
  "limit": 20
}'

POST /detect/ai-adjacency

AI proximity

Measure how close articles are to AI/ML in semantic space. Set `infiltration: true` to track AI spread into a topic over time.

Request body (required)

  • query string
  • date_range string[]
  • threshold number
  • infiltration boolean
  • periods integer
  • include_all boolean
  • limit integer
curl -X POST \
  "https://texxr.com/api/v1/detect/ai-adjacency" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "AI safety regulation",
  "date_range": "2025-01-01",
  "threshold": 20,
  "infiltration": true,
  "periods": 20,
  "include_all": true,
  "limit": 20
}'

Insights 2 credits

Pre-computed analytics (sub-50ms response)

GET /insights/emerging

Emerging entities

Entities with rising coverage momentum. Pre-computed, sub-50ms response.

NameInTypeDefaultDescription
limitqueryinteger20
curl -X GET \
  "https://texxr.com/api/v1/insights/emerging?limit=20" \
  -H "X-API-Key: YOUR_API_KEY"

GET /insights/fading

Fading entities

Entities with declining coverage momentum. Pre-computed, sub-50ms response.

NameInTypeDefaultDescription
limitqueryinteger20
curl -X GET \
  "https://texxr.com/api/v1/insights/fading?limit=20" \
  -H "X-API-Key: YOUR_API_KEY"

GET /insights/momentum/{entity}

Entity momentum

Velocity, acceleration, trend classification, and quarterly timeseries for a specific entity.

NameInTypeDefaultDescription
entity *pathstring
lookbackqueryinteger8Quarters to analyze
curl -X GET \
  "https://texxr.com/api/v1/insights/momentum/OpenAI?lookback=8" \
  -H "X-API-Key: YOUR_API_KEY"

GET /insights/network/{period}

Entity network

Co-occurrence network for a time period. Returns central entities, communities, and bridge nodes.

NameInTypeDefaultDescription
period *pathstringPeriod key (e.g., "2025Q4" or "2025-12")
min_cooccurrencequeryinteger3
curl -X GET \
  "https://texxr.com/api/v1/insights/network/2025Q4?min_cooccurrence=3" \
  -H "X-API-Key: YOUR_API_KEY"

GET /insights/trajectory/{entity}

Entity trajectory

Semantic drift trajectory: wandering ratio, trajectory class, mean and max drift between periods.

NameInTypeDefaultDescription
entity *pathstring
curl -X GET \
  "https://texxr.com/api/v1/insights/trajectory/OpenAI" \
  -H "X-API-Key: YOUR_API_KEY"

Semantic and entity search

POST /search/semantic

Semantic search

Find articles semantically similar to a query concept using vector embeddings. Rate limited: 10/min.

Request body (required)

  • query * string
  • threshold number
  • limit integer
  • date_start string (date)
  • date_end string (date)
curl -X POST \
  "https://texxr.com/api/v1/search/semantic" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "query": "AI safety regulation",
  "threshold": 20,
  "limit": 20,
  "date_start": "2025-01-01",
  "date_end": "2025-01-01"
}'

GET /search/similar/{article_id}

Similar articles

Find articles similar to a given article by vector similarity.

NameInTypeDefaultDescription
article_id *pathinteger
limitqueryinteger10
curl -X GET \
  "https://texxr.com/api/v1/search/similar/example_article_id?limit=10" \
  -H "X-API-Key: YOUR_API_KEY"

GET /search/entity

Entity article search

Find articles mentioning a specific entity.

NameInTypeDefaultDescription
entity *querystring
entity_typequerycompany | person | product | technology One of company, person, product, technology.
date_startquerystring (date)
date_endquerystring (date)
limitqueryinteger50
curl -X GET \
  "https://texxr.com/api/v1/search/entity?entity=OpenAI&entity_type=company&date_start=2025-01-01&date_end=2025-01-01&limit=50" \
  -H "X-API-Key: YOUR_API_KEY"

Analysis 5 credits

Comparative analysis and anomaly detection

POST /analysis/compare

Compare entities

Full comparative analysis: coverage volume by period, framing, sentiment trajectories, and key headlines.

Request body (required)

  • entity_a * string
  • entity_b * string
  • products object Map of entity name to product list
  • leaders object Map of entity name to leader list
curl -X POST \
  "https://texxr.com/api/v1/analysis/compare" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entity_a": "OpenAI",
  "entity_b": "Anthropic",
  "products": "example_products",
  "leaders": "example_leaders"
}'

POST /analysis/topic-arc

Topic evolution

Track how a topic's coverage evolved over time.

Request body (required)

  • topic * string
  • date_range string[]
curl -X POST \
  "https://texxr.com/api/v1/analysis/topic-arc" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "topic": "example_topic",
  "date_range": "2025-01-01"
}'

POST /analysis/anomaly

Anomaly detection

Detect statistical anomalies in entity coverage patterns.

Request body (required)

  • entity * string
  • type coverage | sentiment | semantic
  • threshold number
curl -X POST \
  "https://texxr.com/api/v1/analysis/anomaly" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entity": "OpenAI",
  "type": "example_type",
  "threshold": 20
}'

POST /analysis/drift

Semantic drift

Measure semantic drift of an entity between two periods.

Request body (required)

  • entity * string
  • period_a string First period (e.g., "2024Q1")
  • period_b string Second period (e.g., "2024Q4")

Response

  • success boolean
  • meta object
    • cached boolean
    • execution_time_ms number
    • version string
curl -X POST \
  "https://texxr.com/api/v1/analysis/drift" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "entity": "OpenAI",
  "period_a": "example_period_a",
  "period_b": "example_period_b"
}'

Patterns 1 credit

Research pattern files

GET /patterns

List patterns

Index of available research pattern files.

NameInTypeDefaultDescription
typequeryentities | topics | domains | allall One of entities, topics, domains, all.
curl -X GET \
  "https://texxr.com/api/v1/patterns?type=all" \
  -H "X-API-Key: YOUR_API_KEY"

GET /patterns/search

Search patterns

Search pattern files by keyword.

NameInTypeDefaultDescription
q *querystringSearch query
curl -X GET \
  "https://texxr.com/api/v1/patterns/search?q=artificial intelligence" \
  -H "X-API-Key: YOUR_API_KEY"

GET /patterns/{path}

Get pattern

Retrieve a specific research pattern file.

NameInTypeDefaultDescription
path *pathstringPattern path (e.g., "entities/companies/openai")
curl -X GET \
  "https://texxr.com/api/v1/patterns/entities/companies/openai" \
  -H "X-API-Key: YOUR_API_KEY"

System 0-1 credits

Health, metrics, and API info

GET /health

Health check

Service health status with dependency checks. No auth required.

Response

  • status healthy | degraded | unhealthy
  • timestamp number
  • version string
  • checks object
    • database object
      • status up | down
    • cache object
      • status up | down
      • backend string
curl -X GET \
  "https://texxr.com/api/v1/health" \
  -H "X-API-Key: YOUR_API_KEY"

GET /metrics

API metrics

Cache stats, pool status, and database metrics.

curl -X GET \
  "https://texxr.com/api/v1/metrics" \
  -H "X-API-Key: YOUR_API_KEY"

GET /info

API info

API version and available endpoints.

curl -X GET \
  "https://texxr.com/api/v1/info" \
  -H "X-API-Key: YOUR_API_KEY"

GET /usage

Usage stats

API usage statistics (requires Redis).

curl -X GET \
  "https://texxr.com/api/v1/usage" \
  -H "X-API-Key: YOUR_API_KEY"