Scholar GPT

Scholar GPT · Actions GPT

go-scholargpt

  • GET /advanced_scholarAdvanced Scholar Search

    Performs an advanced search on a Scholarly search platform with reranking and rearranging

  • GET /scholar_searchSearch Scholarly platform directly

    Performs a search on a Scholarly platform and returns the results

  • GET /arxiv_fulltextRetrieve ArXiv Fulltext

    Retrieves the full text information for a specific ArXiv paper

  • GET /arxiv_searchSearch ArXiv

    Performs a search on ArXiv and returns the results

  • GET /biorxiv_fulltextRetrieve bioRxiv Fulltext

    Retrieves the full text information for a specific bioRxiv paper

  • GET /biorxiv_searchSearch bioRxiv

    Performs a search on bioRxiv and returns the results

  • GET /extract_urlExtract information from a URL. If robots.txt blocks the request, inform the user that access for bots is blocked and user should visit the site directly.

    Extracts content and metadata from a given URL

  • GET /web_search_rerankedWeb Search with Reranking

    Performs a web search and reranks the results

  • GET /patent_searchSearch Patents

    Performs a search for patents and returns the results

  • GET /pubmed_fulltextRetrieve PubMed Fulltext

    Retrieves the full text information for a specific PubMed paper

  • GET /search_pubmedSearch PubMed

    Performs a search on PubMed and returns the results

Schéma original API
{
  "openapi": "3.1.0",
  "info": {
    "title": "go-scholargpt",
    "description": "",
    "version": "1.0.0"
  },
  "tags": [
    {
      "name": "scholar"
    },
    {
      "name": "arxiv"
    },
    {
      "name": "biorxiv"
    },
    {
      "name": "link-reader"
    },
    {
      "name": "web-search"
    },
    {
      "name": "patents"
    },
    {
      "name": "pubmed"
    }
  ],
  "paths": {
    "/advanced_scholar": {
      "get": {
        "summary": "Advanced Scholar Search",
        "operationId": "advancedScholarSearch",
        "deprecated": false,
        "description": "Performs an advanced search on a Scholarly search platform with reranking and rearranging",
        "tags": [
          "scholar"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language code. Use 'zh-cn' for Chinese. Other codes are standard",
            "required": false,
            "schema": {
              "type": "string",
              "default": "en"
            }
          },
          {
            "name": "year_start",
            "in": "query",
            "description": "Start year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "year_end",
            "in": "query",
            "description": "End year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sorted",
            "in": "query",
            "description": "Sort results by date",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "Number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/scholar_search": {
      "get": {
        "summary": "Search Scholarly platform directly",
        "operationId": "scholarSearch",
        "deprecated": false,
        "description": "Performs a search on a Scholarly platform and returns the results",
        "tags": [
          "scholar"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language code. Use 'zh-cn' for Chinese. Other codes are standard",
            "required": false,
            "schema": {
              "type": "string",
              "default": "en"
            }
          },
          {
            "name": "year_start",
            "in": "query",
            "description": "Start year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "year_end",
            "in": "query",
            "description": "End year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sorted",
            "in": "query",
            "description": "Sort results by date",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "Number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "properties": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/arxiv_fulltext": {
      "get": {
        "summary": "Retrieve ArXiv Fulltext",
        "operationId": "arxivFulltext",
        "deprecated": false,
        "description": "Retrieves the full text information for a specific ArXiv paper",
        "tags": [
          "arxiv"
        ],
        "parameters": [
          {
            "name": "arxiv_id",
            "in": "query",
            "description": "ArXiv ID of the paper",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/arxiv_search": {
      "get": {
        "summary": "Search ArXiv",
        "operationId": "arxivSearch",
        "deprecated": false,
        "description": "Performs a search on ArXiv and returns the results",
        "tags": [
          "arxiv"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "start",
            "in": "query",
            "description": "Start index for results",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 0
            }
          },
          {
            "name": "max_results",
            "in": "query",
            "description": "Maximum number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/biorxiv_fulltext": {
      "get": {
        "summary": "Retrieve bioRxiv Fulltext",
        "operationId": "biorxivFulltext",
        "deprecated": false,
        "description": "Retrieves the full text information for a specific bioRxiv paper",
        "tags": [
          "biorxiv"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "query",
            "description": "Identifier of the paper (DOI or title)",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "description": "Type of identifier (doi or title)",
            "required": false,
            "schema": {
              "type": "string",
              "default": "doi"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/biorxiv_search": {
      "get": {
        "summary": "Search bioRxiv",
        "operationId": "biorxivSearch",
        "deprecated": false,
        "description": "Performs a search on bioRxiv and returns the results",
        "tags": [
          "biorxiv"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "year_start",
            "in": "query",
            "description": "Start year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "year_end",
            "in": "query",
            "description": "End year for search range",
            "required": false,
            "schema": {
              "type": "integer"
            }
          },
          {
            "name": "sorted",
            "in": "query",
            "description": "Sort results by date",
            "required": false,
            "schema": {
              "type": "boolean",
              "default": false
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "Number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/extract_url": {
      "get": {
        "summary": "Extract information from a URL. If robots.txt blocks the request, inform the user that access for bots is blocked and user should visit the site directly.",
        "operationId": "extractUrl",
        "deprecated": false,
        "description": "Extracts content and metadata from a given URL",
        "tags": [
          "link-reader"
        ],
        "parameters": [
          {
            "name": "url",
            "in": "query",
            "description": "URL to extract information from",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/web_search_reranked": {
      "get": {
        "summary": "Web Search with Reranking",
        "operationId": "WebSearchReranked",
        "deprecated": false,
        "description": "Performs a web search and reranks the results",
        "tags": [
          "web-search"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language code",
            "required": false,
            "schema": {
              "type": "string",
              "default": "en"
            }
          },
          {
            "name": "time",
            "in": "query",
            "description": "Time period for search results",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "Country code for search results",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "count",
            "in": "query",
            "description": "Number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 20
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/patent_search": {
      "get": {
        "summary": "Search Patents",
        "operationId": "patentSearch",
        "deprecated": false,
        "description": "Performs a search for patents and returns the results",
        "tags": [
          "patents"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "language",
            "in": "query",
            "description": "Language code",
            "required": false,
            "schema": {
              "type": "string",
              "default": "en"
            }
          },
          {
            "name": "country",
            "in": "query",
            "description": "Country code for search results",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "sort",
            "in": "query",
            "description": "Sort order for results. Leave this parameter null for relevance sort. Allowed values: new, old",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "before",
            "in": "query",
            "description": "Only show results before this date (YYYYMMDD)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "after",
            "in": "query",
            "description": "Only show results after this date (YYYYMMDD)",
            "required": false,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "status",
            "in": "query",
            "description": "Patent status (e.g., 'GRANT' or 'APPLICATION')",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true,
                    "properties": {}
                  }
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/pubmed_fulltext": {
      "get": {
        "summary": "Retrieve PubMed Fulltext",
        "operationId": "pubmedFulltext",
        "deprecated": false,
        "description": "Retrieves the full text information for a specific PubMed paper",
        "tags": [
          "pubmed"
        ],
        "parameters": [
          {
            "name": "identifier",
            "in": "query",
            "description": "Identifier of the paper",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "id_type",
            "in": "query",
            "description": "Type of identifier (pmid, pmc, doi, or title)",
            "required": false,
            "schema": {
              "type": "string",
              "default": "pmid"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true,
                  "properties": {}
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    },
    "/search_pubmed": {
      "get": {
        "summary": "Search PubMed",
        "operationId": "searchPubMed",
        "deprecated": false,
        "description": "Performs a search on PubMed and returns the results",
        "tags": [
          "pubmed"
        ],
        "parameters": [
          {
            "name": "query",
            "in": "query",
            "description": "Search query",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "database",
            "in": "query",
            "description": "Database to search",
            "required": false,
            "schema": {
              "type": "string",
              "default": "pubmed"
            }
          },
          {
            "name": "max_results",
            "in": "query",
            "description": "Maximum number of results to return",
            "required": false,
            "schema": {
              "type": "integer",
              "default": 10
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/api.PubMedSearchResult"
                }
              }
            }
          },
          "400": {
            "description": "Bad Request",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          },
          "500": {
            "description": "Internal Server Error",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": {
                    "type": "string"
                  },
                  "properties": {}
                }
              }
            }
          }
        },
        "security": []
      }
    }
  },
  "components": {
    "schemas": {
      "api.PubMedSearchResult": {
        "type": "object",
        "properties": {
          "search_results": {
            "type": "object",
            "additionalProperties": true,
            "properties": {}
          },
          "summaries": {
            "type": "object",
            "additionalProperties": true,
            "properties": {}
          }
        }
      }
    },
    "securitySchemes": {}
  },
  "servers": [
    {
      "url": "https://sider.ai/scholar/"
    }
  ]
}