Pinecone REST API
Serverless vector database for AI applications
Pinecone is a fully managed vector database built for AI and machine learning applications. It provides real-time vector similarity search and powers recommendation engines, semantic search, RAG applications, and other AI use cases. Developers use Pinecone to store and query high-dimensional vector embeddings at scale without managing infrastructure.
https://api.pinecone.io
API Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /indexes | List all indexes in your Pinecone project |
| POST | /indexes | Create a new vector index with specified dimensions and configuration |
| GET | /indexes/{indexName} | Get details about a specific index including status and configuration |
| DELETE | /indexes/{indexName} | Delete an index and all its vectors permanently |
| POST | /indexes/{indexName}/upsert | Insert or update vectors in an index with metadata |
| POST | /indexes/{indexName}/query | Query an index with a vector to find similar vectors |
| POST | /indexes/{indexName}/delete | Delete vectors from an index by ID or metadata filter |
| GET | /indexes/{indexName}/fetch | Fetch vectors by ID from an index |
| POST | /indexes/{indexName}/update | Update vector values or metadata for existing vectors |
| GET | /indexes/{indexName}/describe_index_stats | Get statistics about an index including vector count and fullness |
| POST | /collections | Create a static copy of an index as a collection |
| GET | /collections | List all collections in your project |
| DELETE | /collections/{collectionName} | Delete a collection permanently |
Sponsor this page
AvailableReach developers actively building with Pinecone. See live pageview data and self-serve checkout — your slot goes live in minutes.
View inventory & pricing →Code Examples
# Query vectors for similarity search
curl -X POST "https://index-name-project.svc.environment.pinecone.io/query" \
-H "Api-Key: YOUR_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"vector": [0.1, 0.2, 0.3, 0.4],
"topK": 10,
"includeMetadata": true,
"includeValues": true
}'
Use Pinecone from Claude / Cursor / ChatGPT
Get a hosted MCP endpoint for Pinecone. Paste your Pinecone API key, copy back one URL, drop it into Claude Desktop, Cursor, or any AI client that supports remote MCP. Your AI calls Pinecone directly with your credentials — no local install, works on mobile.
search_vectors
Perform semantic similarity search across vector embeddings to find relevant documents or content based on natural language queries
upsert_embeddings
Store vector embeddings with metadata for documents, images, or other content to enable AI-powered search and retrieval
manage_indexes
Create, configure, and manage vector indexes with different dimensions and distance metrics for various AI applications
fetch_by_metadata
Query and retrieve vectors based on metadata filters to find specific subsets of your vector data
get_index_stats
Retrieve statistics and health metrics for vector indexes including vector counts, namespace distribution, and storage utilization
Connect in 60 seconds
Paste your Pinecone key → get an MCP URL → paste into Claude/Cursor. Hosted by IOX, encrypted at rest.
Connect Pinecone to your AI →