Skip to main content
POST
/
api
/
github
/
issues
/
search
/github/issues/search
curl --request POST \
  --url https://api.anysite.io/api/github/issues/search \
  --header 'Content-Type: application/json' \
  --header 'access-token: <api-key>' \
  --data '
{
  "query": "<string>",
  "count": 500,
  "timeout": 300
}
'
[
  {
    "id": 123,
    "number": 123,
    "title": "<string>",
    "@type": "@github_issue_search_result",
    "text": "<string>",
    "state": "",
    "state_reason": "<string>",
    "author": {
      "id": 123,
      "login": "<string>",
      "@type": "@github_issue_author",
      "image": "<string>"
    },
    "author_association": "",
    "labels": [],
    "assignees": [],
    "milestone": "<string>",
    "comment_count": 0,
    "reactions": {
      "@type": "@github_issue_reactions",
      "total_count": 0,
      "plus_one": 0,
      "minus_one": 0,
      "laugh": 0,
      "hooray": 0,
      "confused": 0,
      "heart": 0,
      "rocket": 0,
      "eyes": 0
    },
    "is_locked": false,
    "is_pull_request": false,
    "repository_url": "",
    "created_at": "",
    "updated_at": "",
    "closed_at": "<string>",
    "web_url": "",
    "score": 123
  }
]

Authorizations

access-token
string
header
required

API token from the dashboard

Headers

access-token
string
required

Body

application/json
query
string
required

Search query for issues and pull requests with optional qualifiers (e.g. 'repo:owner/name state:open label:bug author:user')

Minimum string length: 1
Examples:

"repo:microsoft/vscode state:open label:bug"

"memory leak in:title"

count
integer
required

Number of results to return

Required range: 1 <= x <= 1000
timeout
integer
default:300

Max scrapping execution timeout (in seconds)

Required range: 20 <= x <= 1500

Response

Successful Response

id
integer
required
number
integer
required
title
string
required
@type
string
default:@github_issue_search_result
text
string | null
state
string
default:""
state_reason
string | null
author
GithubIssueAuthor · object
author_association
string
default:""
labels
string[]
assignees
string[]
milestone
string | null
comment_count
integer
default:0
reactions
GithubIssueReactions · object
is_locked
boolean
default:false
is_pull_request
boolean
default:false
repository_url
string
default:""
created_at
string
default:""
updated_at
string
default:""
closed_at
string | null
web_url
string
default:""
score
number | null