NovaAPIs Web ServicesΒΆ
Free API services for developers.
π ServicesΒΆ
-
PreBrowse
Advanced link safety checker with live content analysis
-
Rich Suggestions
Search suggestions with Wikipedia integration
-
Text Analyzer
Sentiment analysis, readability scoring, and statistics
-
Data Encoder
Base64, URL encoding, and hash generation
π Quick Start with JavaScript SDKΒΆ
The easiest way to use all APIs together is with our JavaScript SDK:
InstallationΒΆ
Basic UsageΒΆ
// Initialize the SDK
const nova = new NovaAPIs();
// Check URL safety
const safety = await nova.prebrowse.check('https://example.com');
console.log(safety.safe, safety.score);
// Search with Wikipedia
const search = await nova.richSuggestions.search('artificial intelligence');
console.log(search.article, search.suggestions);
// Analyze text
const analysis = await nova.textAnalyzer.analyze('Your text here');
console.log(analysis.sentiment, analysis.readability);
// Encode data
const encoded = await nova.dataEncoder.base64Encode('Hello World');
console.log(encoded);
Advanced FeaturesΒΆ
// Safe Search - verify Wikipedia URLs are safe
const safeResults = await nova.safeSearch('quantum physics');
// Analyze URL - check safety and find related info
const analysis = await nova.analyzeURL('https://wikipedia.org');
// Batch operations
const [urlResults, searchResults] = await Promise.all([
nova.prebrowse.checkBatch(['url1', 'url2', 'url3']),
nova.richSuggestions.searchBatch(['topic1', 'topic2'])
]);
π SDK MethodsΒΆ
PreBrowse APIΒΆ
| Method | Description |
|---|---|
nova.prebrowse.check(url) | Check single URL |
nova.prebrowse.checkBatch(urls) | Check multiple URLs |
nova.prebrowse.isSafe(url) | Returns boolean |
nova.prebrowse.getThreatLevel(url) | Get threat info |
Rich Suggestions APIΒΆ
| Method | Description |
|---|---|
nova.richSuggestions.search(query) | Search query |
nova.richSuggestions.searchBatch(queries) | Search multiple |
nova.richSuggestions.getArticle(query) | Get Wikipedia article |
nova.richSuggestions.getRelatedSearches(query) | Get suggestions |
Text Analyzer APIΒΆ
| Method | Description |
|---|---|
nova.textAnalyzer.analyze(text) | Analyze text |
nova.textAnalyzer.getSentiment(text) | Get sentiment only |
nova.textAnalyzer.getReadability(text) | Get readability scores |
nova.textAnalyzer.getKeywords(text) | Extract keywords |
Data Encoder APIΒΆ
| Method | Description |
|---|---|
nova.dataEncoder.base64Encode(text) | Base64 encode |
nova.dataEncoder.base64Decode(text) | Base64 decode |
nova.dataEncoder.hash(text) | Generate hashes |
nova.dataEncoder.generateUUID() | Generate UUID |
Combined OperationsΒΆ
| Method | Description |
|---|---|
nova.safeSearch(query) | Search and verify URLs are safe |
nova.analyzeURL(url) | Check safety and find related info |
π― Common Use CasesΒΆ
Browser ExtensionΒΆ
// Check links before users click
document.addEventListener('click', async (e) => {
if (e.target.tagName === 'A') {
e.preventDefault();
const url = e.target.href;
const safety = await nova.prebrowse.check(url);
if (safety.safe) {
window.location.href = url;
} else {
alert(`Warning: This link may be unsafe (${safety.threatLevel})`);
}
}
});
Search EnhancementΒΆ
// Add rich Wikipedia results to search
async function enhanceSearch(query) {
const results = await nova.richSuggestions.search(query);
// Display Wikipedia article
if (results.article) {
displayArticle(results.article);
}
// Show related searches
displaySuggestions(results.suggestions.related);
}
Content ModerationΒΆ
// Analyze user-submitted content
async function moderateContent(text) {
const analysis = await nova.textAnalyzer.analyze(text);
if (analysis.sentiment.label === 'negative' &&
analysis.sentiment.score < -0.5) {
flagForReview(text);
}
}
π Privacy & SecurityΒΆ
- No data storage - All requests are processed in real-time
- No tracking - We don't track users or their queries
- CORS enabled - Use from any domain
- Free tier - Generous rate limits for all services
β‘ Rate LimitsΒΆ
| Service | Free Tier |
|---|---|
| PreBrowse (Deep Scan) | 20 requests/hour |
| PreBrowse (URL Only) | 100 requests/hour |
| Rich Suggestions | 50 requests/hour |
| Text Analyzer | 50 requests/hour |
| Data Encoder | 100 requests/hour |
Rate limit information is included in response headers:
X-RateLimit-Limit- Maximum requests allowedX-RateLimit-Remaining- Requests remaining in current windowX-RateLimit-Reset- Unix timestamp when limit resets
π Next StepsΒΆ
-
Learn about advanced link safety checking
-
Rich Suggestions Documentation
Explore Wikipedia integration and search
-
Analyze text sentiment and readability
-
Encode and hash data securely