Skip to content

GET /search_results

This endpoint allows you to retrieve counts and a link per category for a given keyword query.

https://{{ env }}.academiclabs.com/api/v1/search_results?keyword=aging

Headers

Value Type Required Description
Authorization string optional Your API_KEY received by AcademicLabs

Info

This is a public endpoint. Authorization key is not required.

Query String

Value Type Required Description
keyword string required A string based value for a given keyword

Example

curl --location --request GET "https://sandbox.academiclabs.com/api/v1/search_results?keyword=aging" -H "Content-Type: application/json"

Responses

application/json

200

{
  "keyword": "aging",
  "results": {
    "clinical_trials": {
      "results": 2926,
      "link": "https://app.academiclabs.com/search/clinical_trials?keyword=aging"
    },
    "funding_calls": {
      "results": 78,
      "link": "https://app.academiclabs.com/search/funding_calls?keyword=aging"
    },
    "organisations": {
      "results": 0,
      "link": "https://app.academiclabs.com/search/organisations?keyword=aging"
    },
    "projects": {
      "results": 4525,
      "link": "https://app.academiclabs.com/search/projects?keyword=aging"
    },
    "publications": {
      "results": 1636733,
      "link": "https://app.academiclabs.com/search/publications?keyword=aging"
    },
    "research_topics": {
      "results": 2770,
      "link": "https://app.academiclabs.com/search/research_topics?keyword=aging"
    },
    "researchers": {
      "results": 35471,
      "link": "https://app.academiclabs.com/search/researchers?keyword=aging"
    },
    "services": {
      "results": 0,
      "link": "https://app.academiclabs.com/search/services?keyword=aging"
    },
    "units": {
      "results": 3907,
      "link": "https://app.academiclabs.com/search/units?keyword=aging"
    }
  }
}

400

{
   "error_msg": "failed to retrieve search results for keyword aging" 
}