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 credit | Articles, corpus stats, dates, patterns, system |
| 2 credits | Entity profiles, knowledge graph, insights, similar search |
| 5 credits | Signals 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
date | query | string (date) | Exact date filter (YYYY-MM-DD) | |
date_after | query | string (date) | Articles after this date (exclusive) | |
date_before | query | string (date) | Articles before this date (exclusive) | |
search | query | string | Text search in headline and description | |
entity | query | string | Filter by entity name (searches all entity types) | |
entity_type | query | companies | people | products | technologies | Restrict entity filter to specific type One of companies, people, products, technologies. | |
sort | query | date | position | date | Sort order One of date, position. |
limit | query | integer | 50 | |
offset | query | integer | 0 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
id * | path | integer |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
date * | path | string (date) | Date in YYYY-MM-DD format | |
cluster_limit | query | integer | 10 | Max 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
recent | query | integer | 30 | Number 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
name * | path | string | Entity name (e.g., "OpenAI", "Tim Cook") | |
articles_limit | query | integer | 10 | Number 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
name * | path | string | ||
predicate | query | string | Filter by predicate label (e.g., launch, partnership, financial) | |
since | query | string (date) | Edges after this date | |
limit | query | integer | 20 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity_a * | path | string | ||
entity_b * | path | string | ||
since | query | string (date) | ||
limit | query | integer | 50 |
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 textlimitintegerpredicatestring Filter by predicate labelstatusconfirmed | denied | failed | rumoredthresholdnumber 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity_name * | path | string | ||
granularity | query | quarter | month | quarter | One of quarter, month. |
since | query | string (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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity_name * | path | string | ||
with | query | string | Co-entity filter | |
since | query | string (date) | ||
limit | query | integer | 50 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity | query | string | ||
since | query | string (date) | ||
verbose | query | boolean | False |
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 betweensincestring (date)from_daystring (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 conceptthresholdnumber Distance thresholdlimitintegerdate_rangestring[]
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)
datestring (date)date_rangestring[]min_scorenumberlimitinteger
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* stringtypefirst_mover | inflection | crossoverdate_rangestring[]limitinteger
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)
querystringarticle_idsinteger[]date_rangestring[]filterpositive | negative | neutralshiftbooleanperiodsintegerlimitinteger
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)
querystringdate_rangestring[]thresholdnumberinfiltrationbooleanperiodsintegerinclude_allbooleanlimitinteger
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
limit | query | integer | 20 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
limit | query | integer | 20 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity * | path | string | ||
lookback | query | integer | 8 | Quarters 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
period * | path | string | Period key (e.g., "2025Q4" or "2025-12") | |
min_cooccurrence | query | integer | 3 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity * | path | string |
curl -X GET \ "https://texxr.com/api/v1/insights/trajectory/OpenAI" \ -H "X-API-Key: YOUR_API_KEY"
Search 2-5 credits
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* stringthresholdnumberlimitintegerdate_startstring (date)date_endstring (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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
article_id * | path | integer | ||
limit | query | integer | 10 |
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
entity * | query | string | ||
entity_type | query | company | person | product | technology | One of company, person, product, technology. | |
date_start | query | string (date) | ||
date_end | query | string (date) | ||
limit | query | integer | 50 |
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* stringentity_b* stringproductsobject Map of entity name to product listleadersobject 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* stringdate_rangestring[]
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* stringtypecoverage | sentiment | semanticthresholdnumber
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* stringperiod_astring First period (e.g., "2024Q1")period_bstring Second period (e.g., "2024Q4")
Response
successbooleanmetaobjectcachedbooleanexecution_time_msnumberversionstring
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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
type | query | entities | topics | domains | all | all | 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
q * | query | string | Search 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.
| Name | In | Type | Default | Description |
|---|---|---|---|---|
path * | path | string | Pattern 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
statushealthy | degraded | unhealthytimestampnumberversionstringchecksobjectdatabaseobjectstatusup | down
cacheobjectstatusup | downbackendstring
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"