Files & formats

Search sequence databases by name

Resolve a gene/organism name — or a raw NCBI search term — to candidate accessions, instead of guessing one. Returns up to maxResults hits (accession, title, organism); pass the accession you want to sequence_fetch.

post/sequence_search

Request

  • Base URL: https://seqbench.com/api/v1
  • URL: https://seqbench.com/api/v1/sequence_search
  • Auth: none required

Request body

genestring

Gene symbol/name, e.g. "BRCA1". Combined with organism (if given) into a search term.

organismstring

Organism name, e.g. "Homo sapiens". Optional; narrows the gene search.

termstring

Raw NCBI search term (advanced) — overrides gene/organism when given, e.g. "BRCA1[gene] AND Homo sapiens[orgn]".

db'nucleotide' | 'protein'
maxResultsinteger

Up to 20.

Response

Tool ran successfully.

okunknown required
toolstring required

The tool slug that ran.

resultobject required

Tool-specific output object. Its shape depends on the tool — call GET /{tool} or see the docs for each tool's fields.

Example response

{
  "provenance": {
    "apiVersion": "1.1.0"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.