Skip to main content
POST
/
api
/
note
/
notes
/
search
/note/notes/search
curl --request POST \
  --url https://api.anysite.io/api/note/notes/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 2,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "key": "<string>",
    "alias": "<string>",
    "title": "<string>",
    "@type": "@note_search_note",
    "user": {
      "id": 123,
      "key": "<string>",
      "urlname": "<string>",
      "@type": "@note_creator",
      "nickname": "<string>",
      "bio": "<string>",
      "image": "<string>",
      "note_count": 0,
      "following_count": 0,
      "follower_count": 0,
      "twitter_nickname": "<string>",
      "custom_domain": "<string>"
    },
    "like_count": 0,
    "comment_count": 0,
    "price": 0,
    "is_limited": false,
    "is_trial": false,
    "can_read": false,
    "is_liked": false,
    "image": "<string>",
    "published_at": "<string>"
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query

Minimum string length: 1
Example:

"投資"

count
integer
required

Max result count

Required range: x >= 1
Example:

20

timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
key
string
required
alias
string
required
title
string
required
@type
string
default:@note_search_note
user
NoteCreator · object
like_count
integer
default:0
comment_count
integer
default:0
price
integer
default:0
is_limited
boolean
default:false
is_trial
boolean
default:false
can_read
boolean
default:false
is_liked
boolean
default:false
image
string | null
published_at
string | null