API Documentation
Everything you need to integrate with NowBind's Agent API, MCP server, and platform features.
Getting Started
The NowBind API lets AI agents and applications read posts, search content, and interact with the platform programmatically. Every published post is available as both a human-readable article and a structured AI-agent feed.
Quick start: Create an API key from your API Keys page, then use it in the Authorization header.
Authentication
Include your API key in the Authorization header as a Bearer token. Keys use the nb_ prefix.
curl -H "Authorization: Bearer nb_your_api_key" \
https://nowbind.com/api/v1/agent/postsSecurity: Keep your API keys secret. Never expose them in client-side code or public repositories.
Agent API
Endpoints designed for AI agents to read and search content. All require API key authentication.
/api/v1/agent/postsAPI Key/api/v1/agent/posts/{slug}API Key/api/v1/agent/search?q={query}API Key/api/v1/agent/authorsAPI Key/api/v1/agent/tagsAPI KeyList Posts
[
{
"slug": "my-post",
"title": "My Post",
"subtitle": "Optional subtitle",
"author": "Alice",
"excerpt": "Brief summary...",
"reading_time": 5,
"published_at": "2025-01-01T00:00:00Z",
"tags": ["go", "backend"],
"keywords": ["keyword1", "keyword2"],
"url": "https://nowbind.com/post/my-post",
"content_url": "https://nowbind.com/api/v1/agent/posts/my-post"
}
]Get Post
Returns structured markdown as plain text with Content-Type: text/markdown.
# My Post
*Optional subtitle*
**Author:** Alice
**Reading Time:** 5 min
**Keywords:** keyword1, keyword2
---
Full markdown content...Search Posts
Full-text search across titles, content, and AI-generated summaries using PostgreSQL's tsvector.
{
"query": "kubernetes",
"total": 12,
"results": [
{
"slug": "kubernetes-guide",
"title": "Kubernetes Guide",
"excerpt": "Production-ready Kubernetes setup...",
"url": "https://nowbind.com/post/kubernetes-guide"
}
]
}MCP Server
NowBind provides an MCP (Model Context Protocol) server that lets AI assistants like Claude interact with your content directly via JSON-RPC 2.0 over Streamable HTTP.
Endpoint: https://nowbind.com/mcp/
Agent Configurations
Claude Code (CLI)
{
"mcpServers": {
"nowbind": {
"url": "https://nowbind.com/mcp/",
"headers": {
"Authorization": "Bearer nb_your_api_key"
}
}
}
}Claude Desktop
{
"mcpServers": {
"nowbind": {
"url": "https://nowbind.com/mcp/",
"headers": {
"Authorization": "Bearer nb_your_api_key"
}
}
}
}GitHub Copilot (VS Code)
{
"github.copilot.chat.mcp.servers": {
"nowbind": {
"type": "http",
"url": "https://nowbind.com/mcp/",
"headers": {
"Authorization": "Bearer nb_your_api_key"
}
}
}
}Cursor
{
"mcpServers": {
"nowbind": {
"url": "https://nowbind.com/mcp/",
"headers": {
"Authorization": "Bearer nb_your_api_key"
}
}
}
}Windsurf
{
"mcpServers": {
"nowbind": {
"serverUrl": "https://nowbind.com/mcp/",
"headers": {
"Authorization": "Bearer nb_your_api_key"
}
}
}
}Continue.dev
mcpServers:
- name: nowbind
url: https://nowbind.com/mcp/
headers:
Authorization: "Bearer nb_your_api_key"Cline (VS Code)
In VS Code, open Cline settings → MCP Servers → Add Remote Server:
Server URL: https://nowbind.com/mcp/
Header: Authorization: Bearer nb_your_api_keyOpenAI Codex CLI
codex --mcp-config '{"nowbind":{"url":"https://nowbind.com/mcp/","headers":{"Authorization":"Bearer nb_your_api_key"}}}'Resources
nowbind://postsBrowse all published postsnowbind://posts/{slug}Read a specific postnowbind://authorsList all authorsnowbind://tagsBrowse all tagsnowbind://feedRecent posts feedTools
search_postsFull-text search across all contentget_postGet a specific post by sluglist_postsList posts with optional tag filterget_authorGet author info by usernameRate Limits
Rate limits are enforced at multiple levels to prevent abuse.
429 Too Many RequestsRetry-After: 60