Appearance
Search
Overview
The Search API provides a way to query Feedly via the API. When you successfully call the API, the API does the following:
- Returns a list of articles based on your query.
ℹ️ Token Authentication
This endpoint uses the bearer token outlined here.
OpenAPI definition
json
{
"openapi": "3.1.0",
"info": {
"title": "Search API",
"version": "1.0"
},
"servers": [
{
"url": "https://api.feedly.com/v3/search/"
}
],
"components": {
"securitySchemes": {
"sec0": {
"type": "apiKey",
"in": "header",
"name": "Authorization",
"x-bearer-format": "bearer"
}
}
},
"security": [
{
"sec0": []
}
],
"paths": {
"/contents?": {
"post": {
"summary": "Search",
"description": "",
"operationId": "search",
"parameters": [
{
"name": "count",
"in": "query",
"description": "Integer number of articles to return. default is 10. (optional)",
"schema": {
"type": "integer",
"format": "int32",
"default": 10
}
},
{
"name": "newerThan",
"in": "query",
"description": "Long timestamp in ms (optional)",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "olderThan",
"in": "query",
"description": "Long timestamp in ms (optional)",
"schema": {
"type": "integer",
"format": "int32"
}
},
{
"name": "unreadOnly",
"in": "query",
"description": "Boolean if true, only unread articles will be returned; default is false. Reminder: entries older than 31 days are automatically marked as read (optional)",
"schema": {
"type": "boolean"
}
},
{
"name": "continuation",
"in": "query",
"description": "String a continuation id is used to page through the content. Pass the continuation from a search result to get the next set of results for this search (optional)",
"schema": {
"type": "string"
}
},
{
"name": "includeAiActions",
"in": "query",
"schema": {
"type": "boolean",
"default": true
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"required": [
"RAW_BODY"
],
"properties": {
"RAW_BODY": {
"type": "string",
"description": "JSON formatted body with layers, salience, and source/streams",
"default": "{\"layers\":[{\"severities\":[\"HIGH\"],\"type\":\"security\"},{\"parts\":[{\"id\":\"nlp/f/entity/gz:org:microsoft\"}],\"type\":\"matches\",\"salience\":\"about\"},{\"type\":\"language\",\"languages\":[\"en\"]}],\"source\":{\"items\":[{\"type\":\"publicationBucket\",\"id\":\"byf:cybersecurity-bundle\",\"tier\":\"tier1\"},{\"type\":\"publicationBucket\",\"id\":\"cybersecurity:vulnerabilities\",\"tier\":\"tier2\"}]}}",
"format": "json"
}
}
}
}
}
},
"responses": {
"200": {
"description": "200",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{}"
}
},
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"400": {
"description": "400",
"content": {
"application/json": {
"examples": {
"Result": {
"value": "{\n \"errorCode\": 400,\n \"requestId\": \"835133063819c36c-SEA\",\n \"errorMessage\": \"Invalid JSON\"\n}"
}
},
"schema": {
"type": "object",
"properties": {
"errorCode": {
"type": "integer",
"example": 400,
"default": 0
},
"requestId": {
"type": "string",
"example": "835133063819c36c-SEA"
},
"errorMessage": {
"type": "string",
"example": "Invalid JSON"
}
}
}
}
}
}
},
"deprecated": false
}
}
},
"x-readme": {
"headers": [],
"explorer-enabled": true,
"proxy-enabled": true
},
"x-readme-fauxas": true,
"_id": "654923f1a61309001989302e:654a4ea03cf279007205f7c7"
}