The Documents API provides access to technical documentation, datasheets, application notes, and other materials associated with Renesas products. This guide covers how to search, filter, and retrieve product documentation through the API.
The Documents API enables you to:
- Search and browse technical documentation
- Filter documents by product, category, language, and date ranges
- Access multilingual versions of documents
- Retrieve documents by specific identifiers (DCP ID, Agile ID)
- GET
/documents- Retrieve a list of documents with filtering options - GET
/documents/{dcp_id}- Get a specific document by DCP Document ID - GET
/documents/agile-id/{agile_id}- Get a specific document by Agile ID
Get a list of documents with default pagination:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents"Control the number of results returned:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?limit=25&offset=50"Parameters:
limit: Number of results to return (1-100, default: 10)offset: Offset for pagination (default: 0)
Find all documents related to a specific product:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?productId=RX71M"Filter documents by language:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?language=en"Supported languages:
en- Englishja- Japanesezh-hans- Simplified Chinese
Filter by document type or category:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?category=Datasheet"Search for documents with specific DCP ID patterns:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?dcpDocumentIdStartsWith=R01DS"Find documents revised within a specific time period:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?documentRevisionDateStart=2024-01-01&documentRevisionDateEnd=2024-12-31"Date format: YYYY-MM-DD
{
"agileId": "X1234567",
"dcpDocumentId": "R01DS0001EJ0100",
"category": [
{
"level": 1,
"title": "Datasheet"
},
{
"level": 2,
"title": "Microcontrollers"
}
],
"product": [
{
"productId": "RX71M",
"type": "Product",
"title": "RX71M Microcontroller Series",
"nid": "12345",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"language": "en"
}
],
"title": "RX71M Group User's Manual: Hardware",
"type": "User Manual",
"fileType": "PDF",
"secureDocument": false,
"href": "https://www.renesas.com/sites/default/files/documents/products/microcontrollers/rx/rx700/rx71m/r01uw0111ej0200-rx71m.pdf",
"revisionDate": "2024-03-15",
"wwwUpdateDate": "2024-03-20",
"language": "en",
"nid": "67890",
"uuid": "550e8400-e29b-41d4-a716-446655440001",
"published": true,
"featured": true,
"filename": "r01uw0111ej0200-rx71m.pdf",
"myrenesasDocument": false
}Identification:
agileId: Primary Agile system identifierdcpDocumentId: DCP (Document Control Portal) identifiernid: Drupal node IDuuid: Unique identifier
Content Information:
title: Document titletype: Document type (User Manual, Application Note, Datasheet, etc.)fileType: File format (PDF, DOCX, etc.)language: Document language code
Associations:
product: Array of associated products with detailscategory: Hierarchical categorization structure
Access & Status:
href: Direct download URLsecureDocument: Whether document requires special accesspublished: Publication statusfeatured: Whether document is highlighted/featured
Documents may have translations available:
{
"translation": [
{
"language": "ja",
"dcpDocumentId": "R01DS0001JJ0100",
"agileId": "X1234568",
"title": "RX71M グループ ユーザーズマニュアル ハードウェア編",
"href": "/documents/R01DS0001JJ0100"
},
{
"language": "zh-hans",
"dcpDocumentId": "R01DS0001CJ0100",
"agileId": "X1234569",
"title": "RX71M组 用户手册 硬件篇",
"href": "/documents/R01DS0001CJ0100"
}
]
}Search for documents in specific languages:
# Find all Japanese documentation for RX71M
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?productId=RX71M&language=ja"Retrieve a specific document using its DCP identifier:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents/R01DS0001EJ0100"Retrieve a document using its Agile system identifier:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents/agile-id/X1234567"Find all documentation for a specific product:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?productId=RA6M4&limit=50"Find recently updated documents:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?documentRevisionDateStart=2024-01-01"Find application notes by category:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?category=Application Note"Get all datasheets for a product family:
curl -H "x-api-key: YOUR_API_KEY" \
"https://api.renesas.com/web-data/v1/documents?dcpDocumentIdStartsWith=R01DS&category=Datasheet"Documents are organized hierarchically. Common category structures include:
Level 1 Categories:
- Datasheet
- User Manual
- Application Note
- Reference Manual
- Release Note
- Errata
- Sample Code
Level 2+ Subcategories:
- Product families (Microcontrollers, Analog & Power, etc.)
- Functional areas (Hardware, Software, etc.)
- Specific topics (Communication, PWM, ADC, etc.)
404 - Document Not Found:
{
"error": "Document with DCP ID 'INVALID123' not found"
}400 - Invalid Parameters:
{
"error": "Invalid language code. Supported values: en, ja, zh-hans"
}- Use Specific Filters: Combine multiple filters to narrow results effectively
- Handle Languages: Check for translated versions if serving international users
- Cache URLs: Document URLs are stable and can be cached
- Check Revision Dates: Monitor revision dates for important documents
- Validate Access: Check
secureDocumentflag before direct access
import requests
from datetime import datetime, timedelta
def get_recent_docs(product_id, api_key, days_back=30):
\"\"\"Get documents updated in the last N days for a product\"\"\"
end_date = datetime.now()
start_date = end_date - timedelta(days=days_back)
url = "https://api.renesas.com/web-data/v1/documents"
headers = {"x-api-key": api_key}
params = {
"productId": product_id,
"documentRevisionDateStart": start_date.strftime("%Y-%m-%d"),
"documentRevisionDateEnd": end_date.strftime("%Y-%m-%d"),
"language": "en"
}
response = requests.get(url, headers=headers, params=params)
if response.status_code == 200:
return response.json()
else:
response.raise_for_status()
# Usage
recent_docs = get_recent_docs("RX71M", "your-api-key", 60)
for doc in recent_docs:
print(f"{doc['title']} - {doc['revisionDate']}")async function findDatasheets(productFamily, apiKey) {
const url = new URL('https://api.renesas.com/web-data/v1/documents');
url.searchParams.append('dcpDocumentIdStartsWith', 'R01DS');
url.searchParams.append('category', 'Datasheet');
url.searchParams.append('language', 'en');
url.searchParams.append('limit', '50');
const response = await fetch(url, {
headers: {
'x-api-key': apiKey
}
});
if (!response.ok) {
throw new Error(`API error: ${response.status}`);
}
const documents = await response.json();
// Filter by product family if needed
if (productFamily) {
return documents.filter(doc =>
doc.product.some(p =>
p.productId.includes(productFamily) ||
p.title.toLowerCase().includes(productFamily.toLowerCase())
)
);
}
return documents;
}Some documents may require special access permissions:
{
"secureDocument": true,
"myrenesasDocument": true,
"href": "https://www.renesas.com/secure-docs/rx71m-restricted.pdf"
}When secureDocument is true, users may need:
- MyRenesas account login
- Special permissions or agreements
- Corporate account access
Most technical documentation is publicly accessible:
{
"secureDocument": false,
"href": "https://www.renesas.com/sites/default/files/documents/products/microcontrollers/rx/rx700/rx71m/r01uw0111ej0200-rx71m.pdf"
}- Product Parts Guide - Find products and their associated documentation
- Authentication Guide - API key setup and security
- Quickstart Guide - Getting started with the API