API Documentation
Use orchid genome data in your scripts.
Base URL JSON endpoint indexQuick start
Copy this GET request to retrieve five TE annotations for Aram.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/te/records/?sp=Aram&limit=5"
Save TE records as CSV
curl -fsS -o te-aram.csv "https://orchidaceae.cgrpoee.cn/api/te/records/?sp=Aram&limit=5&format=csv"
No endpoints found. Try a dataset name such as expression, GO or orthology.
Species & genomes
-
GET
species/Taxonomy and genome codes.
Parameters & example
species- Genome code from the species catalogue.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/species/" -
GET
genomes/Genome assemblies, quality metrics, publications and file links.
Parameters & example
species- Genome code from the species catalogue.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/genomes/" -
GET
files/Available dataset-file URLs, sizes, checksums and citations.
Parameters & example
species- Genome code from the species catalogue.
file_type- Exact file type, such as CDS, PEP or GFF.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
This endpoint returns file metadata and links; it does not start a download.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/files/" -
Species encyclopedia profiles.
Parameters & example
species- Genome code or scientific-name fragment.
genus- Genus name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Published page reference records; unavailable measurements retain their original missing-value markers.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/species/profiles/"
Gene search
-
GET
genes/search/Find a gene across the site's indexed datasets.
Parameters & example
gene_idRequired- Exact gene ID.
Max length: 255.
JSON: gene_id, data (sections), unavailable_sources, preview_limit_per_source.
Returns up to eight matches per data source, with has_more and links to the full resource.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/genes/search/?gene_id=Dnob1g00001"
Functional annotation
-
GET
annotations/go/GO annotations from InterProScan.
Parameters & example
speciesRequired- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
ipr_id- Exact InterPro identifier.
go_id- GO term present in go_terms.
analysis- Exact InterProScan analysis name, such as Pfam.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/annotations/go/?species=Dnob&page_size=5" -
InterProScan domain and signature hits.
Parameters & example
speciesRequired- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
ipr_id- Exact InterPro identifier.
go_id- GO term present in go_terms.
analysis- Exact InterProScan analysis name, such as Pfam.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/annotations/interpro/?species=Dnob&page_size=5" -
KEGG Orthology assignments.
Parameters & example
speciesRequired- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
ko_id- Exact KEGG Orthology identifier, for example K00001.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
A genome is required to keep queries scoped. GO records retain the original InterProScan hit and go_terms fields; they are not independent experimental GO evidence.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/annotations/kegg/?species=Dnob&page_size=5"
Regulation & duplication
-
Transcription factors, regulators and protein kinases.
Parameters & example
species- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
type- Protein class.
Values: TF, TR, PK.
family- Exact family name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/regulatory-proteins/?species=Dnob&page_size=5" -
GET
m6a/m6A writers, readers and erasers.
Parameters & example
species- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
factor- Regulator class.
Values: writers, readers, erasers.
family- Family within the selected class: MTA70, WTAP, HAKAI, VIRILIZER, YTH or AlkB.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/m6a/?species=Dnob&page_size=5" -
GET
duplications/Gene duplication pairs and duplication types.
Parameters & example
speciesRequired- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
type- Duplication class.
Values: WGD, TD, PD, TRD, DSD.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/duplications/?species=Dnob&page_size=5"
Transposable elements
-
GET
te/species/Available genomes and TE annotation coverage.
Parameters & example
No parameters.
JSON: release, available_species, pending_species, species.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/te/species/" -
Repeat classes and counts for a genome.
Parameters & example
sp- Genome code.
Default: Gela.
JSON: code, classifications, note.
Pending annotations return 409.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/te/classifications/?sp=Aram" -
GET
te/records/TE annotation records, optionally exported as CSV.
Parameters & example
sp- Genome code.
Default: Gela.
type- Exact repeat classification from te/classifications/.
seq- Native or reference sequence name.
start- Inclusive interval start; requires seq.
Min: 1.
end- Inclusive interval end; requires seq.
Min: 1.
limit- Records per page.
Default: 50. Min: 1. Max: 100.
after- Use the previous response's next_cursor.
Default: 0. Min: 0.
before- Use previous_cursor to move back; cannot combine with after.
Default: 0. Min: 0.
page- Optional numbered page; cursor pagination is recommended.
Min: 1.
format- Response format; CSV contains the current page.
Default: json. Values: json, csv.
JSON: records, next_cursor, previous_cursor, limit. CSV: current-page annotation columns.
Keep genome and filters unchanged while paging. Interval coordinates are 1-based and inclusive. For full annotations use the genome page's OUT/GFF links. Pending annotations return 409.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/te/records/?sp=Aram&limit=5"
Orthology
-
Dataset metadata, genomes and orthogroup statistics.
Parameters & example
No parameters.
JSON: dataset metadata, species and summary statistics.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/orthology/summary/" -
Filtered orthogroup catalogue.
Parameters & example
species- Genome code from the species catalogue.
kind- Orthogroup category.
Values: assigned, unassigned.
search[value]- Orthogroup ID or fragment; up to 64 characters.
Max length: 64.
start- Zero-based row offset.
Default: 0. Min: 0. Max: 10000000.
length- Page size.
Default: 10. Min: 1. Max: 100.
draw- Optional DataTables request counter.
Default: 0. Min: 0. Max: 1000000.
order[0][column]- 1 sorts by orthogroup ID; other values sort by total gene count.
Default: 2.
order[0][dir]- Sort direction.
Default: desc. Values: asc, desc.
JSON: draw, recordsTotal, recordsFiltered, data (including sequence_url and tree_url).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/orthology/groups/?species=Dnob&length=5" -
One orthogroup and its member genes.
Parameters & example
og_idRequired- Path. Orthogroup ID in the form OG followed by seven digits.
species- Genome code from the species catalogue.
page- Page number.
Default: 1. Min: 1.
page_size- Records per page.
Default: 500. Min: 1. Max: 10000.
JSON: orthogroup, members, filters, pagination.
Member IDs returned here are the IDs accepted by selected-sequences/.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/orthology/groups/OG0000000/" -
GET
orthology/gene/Find the orthogroup membership of an exact gene ID.
Parameters & example
gene_idRequired- Exact gene ID.
Max length: 255.
species- Genome code from the species catalogue.
JSON: data, count. At most 20 matching memberships are returned.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/orthology/gene/?gene_id=Dnob1g00001" -
Autocomplete a gene ID prefix.
Parameters & example
q- Gene ID prefix; fewer than two characters returns no suggestions.
Max length: 255.
JSON: data, has_more. At most 30 suggestions are returned.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/orthology/gene-suggestions/?q=Dnob1g" -
POST
orthology/gene-search/Resolve a batch of exact gene IDs.
Parameters & example
gene_idsRequired- Body. Nonempty list of gene IDs, each at most 255 characters.
Max items: 200.
species_codes- Body. Optional genome-code filter.
Max items: 100.
Content-TypeRequired- Header. JSON request body.
Values: application/json.
X-CSRFTokenRequired- Header. Token from csrf/; keep its matching cookie.
JSON: data, count, query_count, not_found, filters.
Send application/json with a CSRF token and its matching cookie. See POST access. Set up POST access.
curl -fsS -X POST -b orchid-api-cookies.txt -e "https://orchidaceae.cgrpoee.cn/api/" -H "X-CSRFToken: $CSRF_TOKEN" -H "Content-Type: application/json" --data-raw '{"gene_ids":["Dnob1g00001"],"species_codes":["Dnob"]}' "https://orchidaceae.cgrpoee.cn/api/orthology/gene-search/" -
POST
orthology/groups/{og_id}/selected-sequences/Export selected orthogroup members as FASTA.
Parameters & example
og_idRequired- Path. Orthogroup ID.
member_idsRequired- Body. IDs from the orthogroup member response; all must belong to this group.
Max items: 10000.
Content-TypeRequired- Header. JSON request body.
Values: application/json.
X-CSRFTokenRequired- Header. Token from csrf/; keep its matching cookie.
FASTA attachment. Invalid selections return JSON errors; missing sequence records return 409.
Replace the example group and member IDs with values from groups/. Requires the CSRF token and cookie. See POST access. Set up POST access.
curl -fsS -X POST -b orchid-api-cookies.txt -e "https://orchidaceae.cgrpoee.cn/api/" -H "X-CSRFToken: $CSRF_TOKEN" -H "Content-Type: application/json" --data-raw '{"member_ids":[1]}' "https://orchidaceae.cgrpoee.cn/api/orthology/groups/OG0000000/selected-sequences/"
Block synteny
-
Genomes, chromosome labels and available genome-pair resources.
Parameters & example
No parameters.
JSON: dataset, species, data (resource matrix), meta.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/block-synteny/summary/" -
Syntenic blocks for a genome pair.
Parameters & example
query_speciesRequired- Genome code from the species catalogue.
subject_speciesRequired- Genome code from the species catalogue.
method- Synteny method.
Default: colinearscan. Values: colinearscan, mcscanx.
query_chromosome- Optional chromosome names; repeat the parameter or use comma-separated names.
subject_chromosome- Optional chromosome names; repeat the parameter or use comma-separated names.
page- Page number.
Default: 1. Min: 1.
page_size- Records per page.
Default: 10. Min: 1. Max: 100.
JSON: data (block IDs and summaries), resource, pagination, filters.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/block-synteny/records/?query_species=Dnob&subject_species=Vpla&page_size=5" -
Gene pairs and Ka/Ks measurements within a block.
Parameters & example
block_idRequired- Numeric block ID from block-synteny/records/.
Min: 1.
query_speciesRequired- Genome code from the species catalogue.
page- Page number.
Default: 1. Min: 1.
page_size- Records per page.
Default: 10. Min: 1. Max: 100.
JSON: data, block, pagination.
query_species controls direction when the resource supports reversing the genome pair.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/block-synteny/gene-pairs/?block_id=1&query_species=Aoff&page_size=5" -
Find syntenic pairs containing an exact gene ID.
Parameters & example
gene_idRequired- Exact gene ID.
Max length: 255.
partner_gene- Optional exact partner gene ID.
Max length: 255.
block_id- Optional block to search.
Default: 0. Min: 0.
page- Page number; page size is fixed at 20.
Default: 1. Min: 1.
JSON: gene_id, data, pagination.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/block-synteny/gene-search/?gene_id=Dnob1g00001"
Genome alignment
-
Chromosome tracks, sampled blocks and links for a reference genome.
Parameters & example
species_codeRequired- Path. Reference genome: Dnob, Elgu, Aoff, Atat or Atri.
Values: Dnob, Elgu, Aoff, Atat, Atri.
JSON: reference metadata, tracks and chart data.
The overview is a chart summary. Use the table endpoint to retrieve gene-level rows.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/mga/Dnob/overview/" -
Paginated gene alignment matrix.
Parameters & example
species_codeRequired- Path. Reference genome code.
Values: Dnob, Elgu, Aoff, Atat, Atri.
start- Zero-based row offset.
Default: 0. Min: 0. Max: 10000000.
length- Page size.
Default: 25. Min: 1. Max: 100.
search[value]- Reference or aligned gene ID fragment.
Max length: 255.
draw- Optional DataTables request counter.
Default: 0. Min: 0. Max: 1000000.
JSON: draw, recordsTotal, recordsFiltered, headers, data.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/mga/Dnob/table/?length=5"
Gene families
-
GET
gene-families/InterPro family catalogue and paginated family members.
Parameters & example
q- Family ID or name.
Max length: 128.
gene- Gene ID fragment.
Max length: 128.
ipr- InterPro ID fragment.
Max length: 128.
species- Genome code, ALL, ORCHIDS or OUTGROUPS.
Default: ALL.
family- Select one InterPro family for member details.
Max length: 128.
page- Catalogue page.
Default: 1. Min: 1. Max: 1000000.
page_size- Catalogue page size.
Default: 10. Values: 10, 25, 50, 100.
member_page- Selected-family member page.
Default: 1. Min: 1. Max: 1000000.
member_page_size- Member page size.
Default: 10. Values: 10, 25, 50, 100.
format- JSON is already the default on this API route.
Values: json.
download- Optional TSV export of the filtered catalogue, selected-family members or species summary.
Values: catalogue, members, species.
JSON: dataset, selection, species_options, catalogue, catalogue_page and selected-family members when family is set. download returns TSV.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/gene-families/"
Pangenome
-
GET
pangenome/Pangenome materials, sequencing runs and data sources.
Parameters & example
material_id- Exact material ID; also filters associated runs.
download- Optional TSV export.
Values: materials, runs, sources, issues, external.
JSON: study, counts, materials, runs, sources, issues, reused_resources, limitations, selection_counts.
Coverage and source limitations are included in the dataset response.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/pangenome/"
Expression & RNA-seq
-
Genomes with an installed expression matrix.
Parameters & example
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/expression/species/" -
Gene expression values across tissues.
Parameters & example
species_codeRequired- Path. Code from expression/species/.
gene_id- Exact gene ID.
Max length: 255.
q- Gene ID fragment.
Max length: 255.
metric- Expression unit.
Default: TPM. Values: TPM, FPKM.
tissue- Exact tissue label from response metadata; omit for all tissues.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data (gene_id, values), count, pagination, species, scientific_name, metric, tissues, selected_tissue.
Only installed expression matrices are listed; pending species return 404. Values retain their original units.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/expression/Dnob/?page_size=5" -
RNA-seq studies, samples and sequencing-run references.
Parameters & example
species- Genome code from the species catalogue.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Study-level catalogue entries may link to a BioProject without an individual run accession.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/transcriptome/runs/"
Metabolites
-
GET
metabolites/Metabolite structures, identifiers and linked species.
Parameters & example
cid- Exact PubChem CID.
class- Exact compound class.
species- Text within linked-species metadata.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Returns the same imported records as the metabolome page, including their original species associations.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/metabolites/" -
Published floral metabolite observations and citations.
Parameters & example
species- Genome code or exact scientific name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/metabolites/literature/"
Metabolic pathways
-
GET
pathways/Pathway descriptions, candidate families and evidence notes.
Parameters & example
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/pathways/" -
Floral-scent pathway candidate genes.
Parameters & example
slugRequired- Path. Pathway slug.
Values: mep, mva, phenylpropanoid, oxylipin.
species- Genome code from the species catalogue.
gene_id- Exact gene ID.
Max length: 255.
family- Exact candidate-family name.
q- Text contained in the displayed names or annotations.
Max length: 255.
include_sequence- Include the protein sequence in each returned record.
Default: 0. Values: 0, 1.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Candidate membership does not establish experimental function. Evidence, quality notes and references are returned with each page.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/pathways/mep/genes/?page_size=5"
Ancestral genomes
-
GET
ancestral/Ancestral reference codes and published file URLs.
Parameters & example
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/ancestral/" -
Ancestral reference gene coordinates.
Parameters & example
ancestorRequired- Path. Ancestral reference code.
Values: ADK, AMK, AEK, AOKPOSTOCT, AOKPREOCT.
gene_id- Exact gene ID.
Max length: 255.
chromosome- Exact ancestral chromosome name.
q- Ancestral gene ID fragment.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/ancestral/ADK/genes/?page_size=5"
Traits & ecology
-
Ecology, cultivation and conservation reference records.
Parameters & example
species- Genome code or scientific-name fragment.
genus- Genus name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/reference/ecology/" -
Published floral phenotype overview.
Parameters & example
species- Genome code or scientific-name fragment.
genus- Genus name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/reference/flowers/" -
Literature summaries of flower colour, scent and associated genes.
Parameters & example
species- Genome code or scientific-name fragment.
genus- Genus name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/reference/flower-traits/" -
Published flower-development and MADS-box reference summaries.
Parameters & example
species- Genome code or scientific-name fragment.
genus- Genus name.
q- Text contained in the displayed names or annotations.
Max length: 255.
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
Page reference summaries, not a measured phenotype matrix. Original evidence and missing-value markers are retained.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/reference/flower-development/"
Statistics
-
GET
statistics/Available statistics topics.
Parameters & example
page- Page number.
Default: 1. Min: 1. Max: 100000.
page_size- Records per page.
Default: 25. Min: 1. Max: 100.
JSON: data, count and pagination (page, page_size, total, pages, next, previous).
curl -fsS "https://orchidaceae.cgrpoee.cn/api/statistics/" -
The data underlying a portal statistics page.
Parameters & example
topicRequired- Path. Topic slug from statistics/.
method- For synteny statistics only.
Default: colinearscan. Values: colinearscan, mcscanx.
metric- For synteny statistics: number of blocks or gene pairs.
Default: block_count. Values: block_count, gene_pair_count.
JSON: topic, title and the statistics page's structured summary, panels or tree.
Unavailable source datasets return 503. This is aggregated data; record-level queries use the corresponding module endpoint.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/statistics/genome-assembly/"
Service & POST access
-
GET
health/Check whether the application is responding.
Parameters & example
No parameters.
JSON health status; this does not guarantee that every dataset is installed.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/health/" -
GET
csrf/Get a CSRF token and matching cookie for the two POST endpoints.
Parameters & example
No parameters.
JSON: csrf_token, cookie_name. Also sets the matching cookie.
Keep this response's cookies and send csrf_token in the X-CSRFToken header. No API key is needed for public data.
curl -fsS "https://orchidaceae.cgrpoee.cn/api/csrf/"
POST requests
Set up a token and cookie
Batch orthology queries and selected-sequence exports use POST with JSON. First run this command in a shell with curl and Python to keep the cookie and token together.
CSRF_TOKEN=$(curl -fsS -c orchid-api-cookies.txt "https://orchidaceae.cgrpoee.cn/api/csrf/" | python -c 'import json,sys; print(json.load(sys.stdin)["csrf_token"])')
Then copy the POST example for the endpoint you need. Replace example gene, group or member IDs with your own values. The request uses the same cookie file and CSRF_TOKEN.
Response codes
200- Success. A valid query may return no matches.
400- Check missing, invalid or oversized parameters.
403- For POST, obtain a token and keep its matching cookie.
404- Check the resource path, genome code or record ID.
405- Use the method shown for the endpoint.
409- The annotation is pending or a sequence selection is incomplete.
503- The source dataset is not installed or is temporarily unavailable.