inaturalistjs
    Preparing search index...

    Type Alias GetTaxaAutocompleteData

    type GetTaxaAutocompleteData = {
        body?: never;
        path?: never;
        query: {
            allNames?: boolean;
            isActive?: boolean;
            locale?: string;
            perPage?: string;
            preferredPlaceId?: number;
            q: string;
            rank?:
                | "kingdom"
                | "phylum"
                | "subphylum"
                | "superclass"
                | "class"
                | "subclass"
                | "superorder"
                | "order"
                | "suborder"
                | "infraorder"
                | "superfamily"
                | "epifamily"
                | "family"
                | "subfamily"
                | "supertribe"
                | "tribe"
                | "subtribe"
                | "genus"
                | "genushybrid"
                | "species"
                | "hybrid"
                | "subspecies"
                | "variety"
                | "form";
            rankLevel?: number;
            taxonId?: string[];
        };
        url: "/taxa/autocomplete";
    }
    Index

    Properties

    Properties

    body?: never
    path?: never
    query: {
        allNames?: boolean;
        isActive?: boolean;
        locale?: string;
        perPage?: string;
        preferredPlaceId?: number;
        q: string;
        rank?:
            | "kingdom"
            | "phylum"
            | "subphylum"
            | "superclass"
            | "class"
            | "subclass"
            | "superorder"
            | "order"
            | "suborder"
            | "infraorder"
            | "superfamily"
            | "epifamily"
            | "family"
            | "subfamily"
            | "supertribe"
            | "tribe"
            | "subtribe"
            | "genus"
            | "genushybrid"
            | "species"
            | "hybrid"
            | "subspecies"
            | "variety"
            | "form";
        rankLevel?: number;
        taxonId?: string[];
    }

    Type declaration

    • OptionalallNames?: boolean

      Include all taxon names in the response

    • OptionalisActive?: boolean

      Taxon is active

    • Optionallocale?: string

      Locale preference for taxon common names

    • OptionalperPage?: string

      Number of results to return in a page. The maximum value is 30 for this endpoint

    • OptionalpreferredPlaceId?: number

      Place preference for regional taxon common names

    • q: string

      Search by name (must start with this value) or by ID (exact match).

    • Optionalrank?:
          | "kingdom"
          | "phylum"
          | "subphylum"
          | "superclass"
          | "class"
          | "subclass"
          | "superorder"
          | "order"
          | "suborder"
          | "infraorder"
          | "superfamily"
          | "epifamily"
          | "family"
          | "subfamily"
          | "supertribe"
          | "tribe"
          | "subtribe"
          | "genus"
          | "genushybrid"
          | "species"
          | "hybrid"
          | "subspecies"
          | "variety"
          | "form"

      Taxon must have this rank

    • OptionalrankLevel?: number

      Taxon must have this rank level. Some example values are 70 (kingdom), 60 (phylum), 50 (class), 40 (order), 30 (family), 20 (genus), 10 (species), 5 (subspecies)

    • OptionaltaxonId?: string[]

      Only show taxa with this ID, or its descendants

    url: "/taxa/autocomplete"