### Pagination for query results Source: https://context7.com/paleobiodb/data_service/llms.txt Implements pagination for large result sets by specifying the number of records to limit and the offset for the starting record. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Mammalia&limit=100&offset=200" ``` -------------------------------- ### Get References for Taxonomic Names in RIS Format Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves bibliographic references associated with specific taxonomic names. Output is in RIS format. ```bash curl "https://paleobiodb.org/data1.2/taxa/refs.ris?base_name=Felidae&textresult" ``` -------------------------------- ### Get All Available Time Scales Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of all available geological time scales. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/timescales/list.json?all_records" ``` -------------------------------- ### Get Measurements for Specimens Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves measurement data associated with specific fossil specimens. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/specs/measurements.json?spec_id=1027" ``` -------------------------------- ### GET /specs/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves details for a specific fossil specimen. ```APIDOC ## GET /specs/single ### Description Retrieves metadata and classification for a specific fossil specimen. ### Method GET ### Endpoint https://paleobiodb.org/data1.2/specs/single.json ### Parameters #### Query Parameters - **id** (integer) - Required - The unique identifier of the specimen. - **show** (string) - Optional - Additional metadata fields to include. ### Response #### Success Response (200) - **records** (array) - List of specimen objects containing oid, typ, smi, smt, tna, rnk, qid, and cid. ``` -------------------------------- ### Get Specimen Descriptive Elements Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of all available descriptive elements for fossil specimens. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/specs/elements.json?all_records" ``` -------------------------------- ### GET /refs/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a single bibliographic reference by its unique identifier. ```APIDOC ## GET /refs/single ### Description Retrieves bibliographic citation details for a specific reference ID. ### Method GET ### Endpoint https://paleobiodb.org/data1.2/refs/single.json ### Parameters #### Query Parameters - **id** (integer) - Required - The unique identifier of the reference. - **show** (string) - Optional - Additional fields to include in the response. ### Response #### Success Response (200) - **records** (array) - List of reference objects containing oid, typ, al1, ai1, pby, tit, pbt, vol, pgf, and pgl. ``` -------------------------------- ### Get Single Bibliographic Reference Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches details for a specific bibliographic reference using its ID. Includes associated data and returns JSON. ```bash curl "https://paleobiodb.org/data1.2/refs/single.json?id=6930&show=both" ``` -------------------------------- ### GET /intervals/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a single geological time interval by its name. ```APIDOC ## GET /intervals/single ### Description Retrieves details for a specific geological time interval. ### Method GET ### Endpoint https://paleobiodb.org/data1.2/intervals/single.json ### Parameters #### Query Parameters - **name** (string) - Required - The name of the interval to retrieve. ### Response #### Success Response (200) - **records** (array) - List of interval objects containing oid, typ, nam, abr, tsc, eag, lag, and col. ``` -------------------------------- ### GET /taxa/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a single taxonomic name record by its name string. ```APIDOC ## GET /data1.2/taxa/single ### Description Retrieves a single taxonomic name record by its name string. ### Method GET ### Endpoint /data1.2/taxa/single ### Parameters #### Query Parameters - **name** (string) - Required - The name of the taxon. - **show** (string) - Optional - Comma-separated list of additional fields to include (e.g., attr, class, app). ### Response #### Success Response (200) - **records** (array) - List of taxonomic objects. ``` -------------------------------- ### Get Single Specimen with Associated Data Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves details for a specific fossil specimen, including class and ecospace information. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/specs/single.json?id=1027&show=class,ecospace" ``` -------------------------------- ### Get Time Scale Diagram Data Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves data for generating a time scale diagram for a given time scale ID. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/timescales/diagram.json?id=1" ``` -------------------------------- ### Get Single Geological Interval by Name Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches details for a specific geological time interval using its name. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/intervals/single.json?name=Triassic" ``` -------------------------------- ### GET /colls/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a single fossil collection record by its unique identifier. ```APIDOC ## GET /data1.2/colls/single ### Description Retrieves a single fossil collection record by its unique identifier. ### Method GET ### Endpoint /data1.2/colls/single ### Parameters #### Query Parameters - **id** (string) - Required - The unique identifier of the collection. - **show** (string) - Optional - Comma-separated list of additional fields to include (e.g., loc, stratext, geo). ### Response #### Success Response (200) - **records** (array) - List of collection objects. ``` -------------------------------- ### GET /occs/diversity Source: https://context7.com/paleobiodb/data_service/llms.txt Performs a diversity calculation based on fossil occurrence data. ```APIDOC ## GET /occs/diversity ### Description Calculates fossil diversity over time, including origination and extinction metrics. ### Method GET ### Endpoint https://paleobiodb.org/data1.2/occs/diversity.txt ### Parameters #### Query Parameters - **base_name** (string) - Required - Taxonomic group to analyze. - **count** (string) - Required - Taxonomic rank to count (e.g., genera). - **recent** (string) - Optional - Filter for recent data. ### Response #### Success Response (200) - **interval_no** (integer) - Interval identifier - **interval_name** (string) - Name of the interval - **n_total** (integer) - Total taxa count - **n_extant** (integer) - Taxa crossing boundary - **n_orig** (integer) - Taxa originating - **n_extinct** (integer) - Taxa going extinct - **x_rate** (float) - Extinction rate ``` -------------------------------- ### GET /occs/single Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a single fossil occurrence record by its unique identifier. ```APIDOC ## GET /data1.2/occs/single ### Description Retrieves a single fossil occurrence record by its unique identifier. ### Method GET ### Endpoint /data1.2/occs/single ### Parameters #### Query Parameters - **id** (string) - Required - The unique identifier of the occurrence. - **show** (string) - Optional - Comma-separated list of additional fields to include (e.g., loc, class). ### Response #### Success Response (200) - **records** (array) - List of occurrence objects. ``` -------------------------------- ### Get References for Fossil Occurrences in RIS Format Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves bibliographic references associated with fossil occurrences within a specific taxonomic group and geological interval. Output is in RIS format for reference managers. ```bash curl "https://paleobiodb.org/data1.2/occs/refs.ris?base_name=Cetacea&interval=Eocene&textresult" ``` -------------------------------- ### Get Intervals from Specific Time Scale Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches geological intervals belonging to a particular time scale and of a specified type (e.g., epoch). Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/intervals/list.json?scale_id=1&type=epoch" ``` -------------------------------- ### Client configuration data Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches client configuration data for the API. Use 'show=all' to retrieve all configuration details. ```bash curl "https://paleobiodb.org/data1.2/config.json?show=all" ``` -------------------------------- ### Output format options Source: https://context7.com/paleobiodb/data_service/llms.txt Demonstrates how to specify different output formats for API requests, including JSON, plain text, CSV, and TSV. ```bash curl "https://paleobiodb.org/data1.2/taxa/single.json?name=Felidae" # JSON ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/single.txt?name=Felidae" # Plain text CSV ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/single.csv?name=Felidae" # CSV download ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/single.tsv?name=Felidae" # Tab-separated ``` -------------------------------- ### Full Diversity Calculation with Origination/Extinction Source: https://context7.com/paleobiodb/data_service/llms.txt Performs a detailed diversity calculation, including origination and extinction metrics, for a specified taxonomic group. Excludes recent data and outputs in plain text. ```bash curl "https://paleobiodb.org/data1.2/occs/diversity.txt?base_name=Bivalvia&count=genera&recent=exclude" ``` -------------------------------- ### Client Configuration API Source: https://context7.com/paleobiodb/data_service/llms.txt Endpoint for retrieving client configuration data. ```APIDOC ## Client configuration data ### Method GET ### Endpoint https://paleobiodb.org/data1.2/config.json ### Query Parameters - **show** (string) - Specifies which configuration data to show (e.g., all) ``` -------------------------------- ### Vocabulary selection Source: https://context7.com/paleobiodb/data_service/llms.txt Specifies the vocabulary to use for field names in the response. 'pbdb' uses full names, while 'com' uses compact names. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Homo&vocab=pbdb" ``` -------------------------------- ### Show parameter for additional output blocks Source: https://context7.com/paleobiodb/data_service/llms.txt Requests additional data blocks in the response, such as 'full', 'coords', 'class', 'strat', or 'ref'. Multiple blocks can be comma-separated. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Cetacea&show=full" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Cetacea&show=coords,class,strat,ref" ``` -------------------------------- ### Auto-completion for strata names Source: https://context7.com/paleobiodb/data_service/llms.txt Provides auto-completion suggestions for strata names, returning results in JSON format. Limits the number of suggestions. ```bash curl "https://paleobiodb.org/data1.2/strata/auto.json?name=Morr&limit=10" ``` -------------------------------- ### List Specimens by Taxon with Coordinates Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of fossil specimens belonging to a specified taxonomic group, including their class and geographic coordinates. Output is in plain text format. ```bash curl "https://paleobiodb.org/data1.2/specs/list.txt?base_name=Stegosauria&show=class,coords" ``` -------------------------------- ### List All Geological Periods Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of all geological periods, ordered by age. Output is in plain text format. ```bash curl "https://paleobiodb.org/data1.2/intervals/list.txt?scale=1&type=period&order=age" ``` -------------------------------- ### List Collections with Paleolocation Data Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of collections filtered by taxonomic name and includes paleolocation data. Uses JSON output format. ```bash curl "https://paleobiodb.org/data1.2/colls/list.json?base_name=Dinosauria&show=paleoloc&pgm=gplates" ``` -------------------------------- ### Timerule for interval matching Source: https://context7.com/paleobiodb/data_service/llms.txt Specifies how intervals should be matched: 'contain' for strictly within, 'major' for >50% overlap (default), or 'overlap' for any overlap. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?interval=Jurassic&timerule=contain" ``` -------------------------------- ### Query Taxonomic Names Source: https://context7.com/paleobiodb/data_service/llms.txt Access hierarchical classification data, including subtaxa, synonyms, and auto-completion for names. ```bash curl "https://paleobiodb.org/data1.2/taxa/single.json?name=Dascillidae&show=attr,class,app" ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/list.json?name=Felidae&rel=all_children&show=attr" ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/list.json?name=Homo%20sapiens&rel=all_parents" ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/list.json?name=Tyrannosaurus&rel=synonyms" ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/auto.json?name=h.%20sap&limit=10" ``` ```bash curl "https://paleobiodb.org/data1.2/taxa/thumb.png?id=txn:910" --output dinosaur.png ``` ```bash curl "https://paleobiodb.org/data1.2/occs/taxa.txt?base_name=Cetacea&interval=Miocene&show=attr,subcounts" ``` -------------------------------- ### Quick Diversity Plot Data Source: https://context7.com/paleobiodb/data_service/llms.txt Generates data for a quick diversity plot based on specified taxonomic groups and continental regions. Output is in plain text format. ```bash curl "https://paleobiodb.org/data1.2/occs/quickdiv.txt?base_name=Dinosauria^Aves&continent=NOA&count=genera" ``` -------------------------------- ### Search Bibliographic References by Author Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of bibliographic references authored by a specific person. Output is in plain text format. ```bash curl "https://paleobiodb.org/data1.2/refs/list.txt?ref_author=Sepkoski" ``` -------------------------------- ### General auto-completion across record types Source: https://context7.com/paleobiodb/data_service/llms.txt Performs auto-completion across multiple record types (e.g., taxa, collections) for a given name. Limits the number of results. ```bash curl "https://paleobiodb.org/data1.2/combined/auto.json?name=tyranno&type=txn,col&limit=10" ``` -------------------------------- ### Query Fossil Collections Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieve sets of co-located fossil occurrences with geographic and stratigraphic metadata. ```bash curl "https://paleobiodb.org/data1.2/colls/single.json?id=50068&show=loc,stratext,geo" ``` ```bash curl "https://paleobiodb.org/data1.2/colls/list.txt?base_name=Cetacea&interval=Miocene&show=ref,loc,stratext" ``` ```bash curl "https://paleobiodb.org/data1.2/colls/summary.json?lngmin=0&lngmax=15&latmin=0&latmax=15&level=2" ``` ```bash curl "https://paleobiodb.org/data1.2/colls/list.json?formation=Morrison%20Formation&show=strat,geo" ``` -------------------------------- ### List strata in a geographic region Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves a list of strata within specified geographic boundaries and rank. Use .txt for plain text output. ```bash curl "https://paleobiodb.org/data1.2/strata/list.txt?lngmin=0&lngmax=15&latmin=0&latmax=15&rank=formation" ``` -------------------------------- ### Strata with collection counts Source: https://context7.com/paleobiodb/data_service/llms.txt Lists strata matching a name query and includes collection counts. Returns results in JSON format, showing coordinates. ```bash curl "https://paleobiodb.org/data1.2/strata/list.json?name=Morrison&show=coords" ``` -------------------------------- ### Combined Data and Auto-completion API Source: https://context7.com/paleobiodb/data_service/llms.txt API for combined data retrieval and auto-completion across record types. ```APIDOC ## General auto-completion across record types ### Method GET ### Endpoint https://paleobiodb.org/data1.2/combined/auto.json ### Query Parameters - **name** (string) - Search term for auto-completion - **type** (string) - Comma-separated list of record types (e.g., txn,col) - **limit** (integer) - Maximum number of results to return ### Response Example ```json { "records": [ {"oid": "txn:54833", "typ": "txn", "nam": "Tyrannosaurus", "rnk": 5}, {"oid": "txn:54844", "typ": "txn", "nam": "Tyrannosaurus rex", "rnk": 3}, {"oid": "col:3845", "typ": "col", "nam": "Tyrannosaurus quarry"} ] } ``` ## Records associated with a reference ### Method GET ### Endpoint https://paleobiodb.org/data1.2/combined/associated.json ### Query Parameters - **ref_id** (string) - Reference ID - **type** (string) - Comma-separated list of record types (e.g., txn,occ) ``` -------------------------------- ### Common Query Parameters Source: https://context7.com/paleobiodb/data_service/llms.txt Common parameters applicable across various API endpoints for filtering, formatting, and pagination. ```APIDOC ## Output format options ### Description Specify the desired output format by appending the format suffix to the endpoint. ### Examples - **JSON:** `https://paleobiodb.org/data1.2/taxa/single.json?name=Felidae` - **Plain text CSV:** `https://paleobiodb.org/data1.2/taxa/single.txt?name=Felidae` - **CSV download:** `https://paleobiodb.org/data1.2/taxa/single.csv?name=Felidae` - **Tab-separated:** `https://paleobiodb.org/data1.2/taxa/single.tsv?name=Felidae` ## Vocabulary selection ### Description Choose the vocabulary for field names. `pbdb` uses full names, `com` uses compact 3-character names. ### Example `https://paleobiodb.org/data1.2/occs/list.json?base_name=Homo&vocab=pbdb` ## Show parameter ### Description Select additional output blocks to include in the response. Multiple blocks can be comma-separated. ### Examples - `https://paleobiodb.org/data1.2/occs/list.json?base_name=Cetacea&show=full` - `https://paleobiodb.org/data1.2/occs/list.json?base_name=Cetacea&show=coords,class,strat,ref` ## Pagination ### Description Control the number of records returned and the starting offset. ### Parameters - **limit** (integer) - Maximum number of records per page - **offset** (integer) - Number of records to skip ### Example `https://paleobiodb.org/data1.2/occs/list.json?base_name=Mammalia&limit=100&offset=200` ## Count records ### Description Returns the count of records matching the query without returning the data itself. ### Method GET ### Endpoint `https://paleobiodb.org/data1.2/occs/list.json?base_name=Dinosauria&count` ## Time-based filtering ### Description Filter records based on geological time intervals or specific age ranges. ### Parameters - **interval** (string) - Geologic interval name (e.g., Jurassic) - **min_ma** (number) - Minimum age in millions of years ago - **max_ma** (number) - Maximum age in millions of years ago ### Examples - `https://paleobiodb.org/data1.2/occs/list.json?interval=Jurassic` - `https://paleobiodb.org/data1.2/occs/list.json?min_ma=100&max_ma=150` - `https://paleobiodb.org/data1.2/occs/list.json?interval=Triassic-Jurassic` ## Geographic filtering ### Description Filter records based on geographic location using country codes, continent codes, or coordinate ranges. ### Parameters - **cc** (string) - Comma-separated list of country codes (e.g., US,CA,MX) - **continent** (string) - Comma-separated list of continent codes (e.g., NOA,EUR) - **lngmin** (number) - Minimum longitude - **lngmax** (number) - Maximum longitude - **latmin** (number) - Minimum latitude - **latmax** (number) - Maximum latitude ### Examples - `https://paleobiodb.org/data1.2/occs/list.json?cc=US,CA,MX` - `https://paleobiodb.org/data1.2/occs/list.json?continent=NOA,EUR` - `https://paleobiodb.org/data1.2/occs/list.json?lngmin=-100&lngmax=-90&latmin=30&latmax=40` ## Timerule for interval matching ### Description Specifies how interval matching should be performed. ### Parameters - **timerule** (string) - Rule for interval matching (`contain`, `major`, `overlap`) - `contain`: Interval must be strictly within the specified interval. - `major`: Interval must overlap by more than 50% (default). - `overlap`: Interval must have any overlap. ### Example `https://paleobiodb.org/data1.2/occs/list.json?interval=Jurassic&timerule=contain` ``` -------------------------------- ### Diagnostic Check for Diversity Calculation Source: https://context7.com/paleobiodb/data_service/llms.txt Performs a diagnostic check for diversity calculations, specifying taxonomic groups, continents, and a list of intervals. Output is in plain text format. ```bash curl "https://paleobiodb.org/data1.2/occs/checkdiv.txt?base_name=Dinosauria^Aves&continent=NOA&list=Santonian" ``` -------------------------------- ### List References with Associated Data Counts Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches a list of bibliographic references and includes counts of associated data (e.g., occurrences, specimens). Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/refs/list.json?ref_author=Simpson&show=counts" ``` -------------------------------- ### List Geological Intervals within Age Range Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches geological intervals that fall within a specified minimum and maximum age in millions of years (Ma). Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/intervals/list.json?min_ma=100&max_ma=150" ``` -------------------------------- ### Time-based filtering by age range Source: https://context7.com/paleobiodb/data_service/llms.txt Filters occurrences based on a minimum and maximum age in millions of years (Ma). ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?min_ma=100&max_ma=150" ``` -------------------------------- ### Query Fossil Occurrences Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieve individual fossil records using various filters like ID, taxonomy, geography, and time intervals. ```bash curl "https://paleobiodb.org/data1.2/occs/single.json?id=1001&show=loc,class" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/list.txt?base_name=Cetacea&interval=Miocene&show=loc,class" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Dinosauria^Aves&continent=NOA&show=coords,strat" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?lngmin=-125&lngmax=-65&latmin=25&latmax=50&interval=Cretaceous" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/geosum.json?base_name=Cetacea&level=2" ``` -------------------------------- ### Redirect to Admin Forms Source: https://github.com/paleobiodb/data_service/blob/master/html/admin/admin_shortcuts.html Functions to navigate to opinion or authority forms using a provided key number from a form input. Requires an active user session. ```javascript function showOpinion() { window.location = "http://www.paleodb.org/cgi-bin/bridge.pl?action=displayOpinionForm&opinion_no=" + document.forms[0].number.value; } function showAuthority() { window.location = "http://www.paleodb.org/cgi-bin/bridge.pl?action=displayAuthorityForm&taxon_no=" + document.forms[0].number.value; } ``` -------------------------------- ### Stratigraphy of fossil occurrences Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves the stratigraphy associated with fossil occurrences for a given taxon and interval. Returns results in JSON format with text results. ```bash curl "https://paleobiodb.org/data1.2/occs/strata.json?base_name=Cetacea&interval=Miocene&textresult" ``` -------------------------------- ### Session Data API Source: https://github.com/paleobiodb/data_service/blob/master/html/admin/docs/database_notes.html Provides information about the current user session, including session ID, enterer, and authorizer details. This data is typically stored in cookies. ```APIDOC ## GET /session/data ### Description Retrieves information about the current user session. ### Method GET ### Endpoint /session/data ### Parameters None ### Request Example None ### Response #### Success Response (200) - **session_id** (string) - The unique identifier for the current session. - **enterer_no** (integer) - The identifier for the user entering the session. - **authorizer_no** (integer) - The identifier for the user authorizing the session. - **reference_no** (integer) - A reference number associated with the session. #### Response Example { "session_id": "abc123xyz789", "enterer_no": 12345, "authorizer_no": 67890, "reference_no": 54321 } ``` -------------------------------- ### Time-based filtering by interval Source: https://context7.com/paleobiodb/data_service/llms.txt Filters occurrences based on geological intervals. Supports specific intervals like 'Jurassic' or 'Triassic-Jurassic'. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?interval=Jurassic" ``` ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?interval=Triassic-Jurassic" ``` -------------------------------- ### Count records without returning data Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves only the count of records matching the query parameters without returning the actual data. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?base_name=Dinosauria&count" ``` -------------------------------- ### List Specimens with Type Status Source: https://context7.com/paleobiodb/data_service/llms.txt Fetches a list of fossil specimens that have a specified type status (e.g., holotype) within a given taxonomic group. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/specs/list.json?base_name=Dinosauria&is_type=holotype" ``` -------------------------------- ### Statistics API Source: https://github.com/paleobiodb/data_service/blob/master/html/admin/docs/database_notes.html Provides hourly statistics about the Paleobiodb database, including totals for references, collections, occurrences, and enterers. ```APIDOC ## GET /statistics ### Description Retrieves hourly statistics about the Paleobiodb database. ### Method GET ### Endpoint /statistics ### Parameters None ### Request Example None ### Response #### Success Response (200) - **reference_total** (integer) - The total number of references. - **collection_total** (integer) - The total number of collections. - **occurrence_total** (integer) - The total number of occurrences. - **enterer_total** (integer) - The total number of enterers. #### Response Example { "reference_total": 1500000, "collection_total": 3000000, "occurrence_total": 100000000, "enterer_total": 50000 } ``` -------------------------------- ### Geographic filtering by bounding box Source: https://context7.com/paleobiodb/data_service/llms.txt Filters occurrences within a specified geographic bounding box defined by minimum and maximum longitude and latitude. ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?lngmin=-100&lngmax=-90&latmin=30&latmax=40" ``` -------------------------------- ### Records associated with a reference Source: https://context7.com/paleobiodb/data_service/llms.txt Retrieves records (e.g., taxa, occurrences) associated with a specific reference ID. Supports filtering by record type. ```bash curl "https://paleobiodb.org/data1.2/combined/associated.json?ref_id=6930&type=txn,occ" ``` -------------------------------- ### Stratigraphy API Endpoints Source: https://context7.com/paleobiodb/data_service/llms.txt Endpoints for retrieving information about geological strata. ```APIDOC ## List strata in a geographic region ### Method GET ### Endpoint https://paleobiodb.org/data1.2/strata/list.txt ### Query Parameters - **lngmin** (number) - Minimum longitude - **lngmax** (number) - Maximum longitude - **latmin** (number) - Minimum latitude - **latmax** (number) - Maximum latitude - **rank** (string) - Stratigraphic rank (e.g., formation) ## Auto-completion for strata names ### Method GET ### Endpoint https://paleobiodb.org/data1.2/strata/auto.json ### Query Parameters - **name** (string) - Partial strata name for auto-completion - **limit** (integer) - Maximum number of results to return ## Stratigraphy of fossil occurrences ### Method GET ### Endpoint https://paleobiodb.org/data1.2/occs/strata.json ### Query Parameters - **base_name** (string) - Base name for taxonomic search - **interval** (string) - Geologic interval (e.g., Miocene) - **textresult** (boolean) - Return results in text format ## Strata with collection counts ### Method GET ### Endpoint https://paleobiodb.org/data1.2/strata/list.json ### Query Parameters - **name** (string) - Name of the stratum - **show** (string) - Additional information to show (e.g., coords) ``` -------------------------------- ### Form Validation and Object Inspection Source: https://github.com/paleobiodb/data_service/blob/master/html/admin/person.html Utility function for inspecting object properties and a validation function for the person registration form. The validation checks for required fields and specific role-based password requirements. ```javascript function showProperties ( obj ) { var result = ""; for ( var i in obj ) { result += "o." + i + " = " + obj[i] + "
\n"; } document.write ( result ); } function checkForm() { var frm = document.forms[0]; var errors = ""; // checks if ( frm.first_name.value == "" ) errors += "Enter the first name.\n"; if ( frm.last_name.value == "" ) errors += "Enter the last name.\n"; if ( frm.name.value == "" ) errors += "Enter the name.\n"; if ( frm.reversed_name.value == "" ) errors += "Enter the reversed name.\n"; if ( frm.gender.value == "" ) errors += "Enter the gender.\n"; if ( frm.email.value == "" ) errors += "Enter the e-mail address.\n"; if ( frm.institution.value == "" ) errors += "Enter the institution.\n"; if ( frm.country.value == "" ) errors += "Enter the country.\n"; if ( frm.role.value == "" ) { errors += "Enter the role.\n"; } else if ( frm.role.value == "authorizer" ) { if ( frm.plaintext.value == "" ) errors += "Authorizers must have a password.\n"; } // Report errors if ( errors != "" ) { errors = " Errors \n" + "---------------------------------------\n\n" + errors + "\n" + "---------------------------------------\n\n" + "See the tip sheet for instructions."; alert ( errors ); return false; } return true; } ``` -------------------------------- ### Geographic filtering by continent Source: https://context7.com/paleobiodb/data_service/llms.txt Filters occurrences based on specified continent codes (e.g., NOA for North America, EUR for Europe). ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?continent=NOA,EUR" # Continents ``` -------------------------------- ### Geographic filtering by country codes Source: https://context7.com/paleobiodb/data_service/llms.txt Filters occurrences based on specified country codes (e.g., US, CA, MX). ```bash curl "https://paleobiodb.org/data1.2/occs/list.json?cc=US,CA,MX" # Country codes ``` -------------------------------- ### Most Prevalent Taxa in Region/Time Source: https://context7.com/paleobiodb/data_service/llms.txt Identifies the most prevalent taxa within a specified continent and geological interval, with a limit on the number of results. Returns data in JSON format. ```bash curl "https://paleobiodb.org/data1.2/occs/prevalence.json?continent=noa&interval=Mesozoic&limit=10" ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.