Home Multi-Country Search About Admin Login


About

The Global Lexicon is an extensive database to facilitate the exploration and understanding of geological formations around the world. The associated websites allow users to access detailed geological information and visual representations of various formations using models of the ancient Earth.



API Documentation

API calls only query data in a specific region. Format: <server-url>/<API>?<params>

Server URL: Replace <server-url> with the region-specific URL.
API: Replace <API> with the desired API endpoint. The two endpoints are searchAPI.php and provinceAPI.php
Parameters: Replace <params> with required or optional parameters.

These regions have APIs that can be accessed:
China ⇒ "https://chinalex.geolex.org"
Indian Plate ⇒ "https://indplex.geolex.org"
Thailand ⇒ "https://thailex.geolex.org"
Vietnam ⇒ "https://vietlex.geolex.org"
Niger ⇒ "https://nigerlex.geolex.org"
Malaysia ⇒ "https://malaylex.geolex.org"
Africa ⇒ "https://africalex.geolex.org"
Belgium ⇒ "https://belgiumlex.geolex.org"
Middle East ⇒ "https://mideastlex.geolex.org"
Panama ⇒ "https://panamalex.geolex.org"
Qatar ⇒ "https://qatarlex.geolex.org"
South America ⇒ "https://southamerlex.geolex.org"
Dev ⇒ "https://dev.geolex.org"

These are the parameters that SearchAPI accept:
searchquery: String. Full or partial names of formations, including contents in the Synonym section. Optional.
periodfilter: String. Name of the period limiting the search. Optional.
provincefilter: String. Name of the province limiting the search. Optional.
agefilterstart: Number (Ma). Bottom age of the search. Optional.
agefilterend: Number (Ma). Top age of the search, not greater than agefilterstart. Optional.
lithofilter: String. Names of lithology patterns. Optional.
response: String. 'long' returns all fields. Optional.

This API will return a JSON Object with these fields (each is a formation):
name: String. Name of the formation.
endAge: Number. Top age of the formation.
begAge: Number. Bottom age of the formation.
province: String. Provinces of the formation.
geojson: GeoJSON. Coordinates of the formation.
period: String. Bottom period of the formation.
stage: String. Bottom stage of the formation.
lithology_pattern: String. Lithology pattern of the formation.
isSynonym:Boolean. If this formation is the result of a search in the Synonym section (see searchquery parameter).

Fields below are only returned when the response=long argument is passed in. “Optional” means that the field may be empty.
age_interval: String. A description of age span of the formation. Optional.
lithology: String. Full description of the lithology of the formation. Optional.
lower_contact: String. Optional.
upper_contact: String. Optional.
regional_extent: String. Optional.
fossils: String. Optional.
age: String. Optional.
depositional: String. Optional.
additional_info: String. Optional.
compiler: String. Optional.
age_span: String. Optional.
beginning_stage: String. This is the same as the `stage` field.
frac_upB: Number. The fraction of age span in the bottom stage.
beg_date: Number. This is the same as the `begAge` field.
end_stage: Number. Top stage of the formation.
frac_upE: Number. The fraction of age span in the top stage.
end_date: Number. This is the same as the `endAge` field.
depositional_pattern: String. Optional.

No parameters needed or accepted.

This API will return a JSON Object that is an array of province names, which are Strings, sorted by alphabetical order.


Contributors

James Ogg
James Ogg

Purdue Univ. (Earth, Atmos. and Planet. Sci.; professor)

2019-present

Database Coordinator

Gabi Ogg
Gabi Ogg

Geologic TimeScale Foundation

2019-present

User interface graphics

Aaron Ault
Aaron Ault

Purdue Univ. (Computer Engineering; staff)

2019-present

Software coordinator

Hongfei Hou
Hongfei Hou

China Academy of Geological Sciences

2019-present

China data coordinator

O'Neil Mamallapalli
O'Neil Mamallapalli

Oil and Natural Gas Corporation (ONGC), India (post-doc)

2019-present

South Asia data coordinator

Enam O. Obiosio
Enam O. Obiosio

Ahmadu Bello Univ., Zaria, Nigeria (Dept. Geology; professor)

2024

Database Coordinator

Joshua S. Avong
Joshua S. Avong

Ahmadu Bello Univ., Zaria, Nigeria (Dept. Geology; grad)

2024

Data compiling; Stratigraphic columns

Henry N. Suleiman
Henry N. Suleiman

Ahmadu Bello Univ., Zaria, Nigeria (Dept. Geology; grad)

2024

Data compiling; Stratigraphic columns

Nicki Ogg
Nicki Ogg

Microsoft (staff)

2019

Prototype design

Karan Oberoi
Karan Oberoi

Purdue Univ. (Computer Engineering; undergrad)

2019-2021

Database and Admin software (parsing, webpage generation)

Yuzheng Qian
Yuzheng Qian

Purdue Univ. (Computer Engineering; undergrad, grad)

2019-2020, 2022

Database, Admin and Paleogeography software

Yidi Du
Yidi Du

Purdue Univ. (Computer Engineering; undergrad)

2019

User interface and display

Feidi Xie
Feidi Xie

Purdue Univ. (Computer Engineering; undergrad)

2019

Admin interface

Yuanhao Wang
Yuanhao Wang

Purdue Univ. (Computer Engineering; undergrad)

2019

Admin interface

Prithvi Velpuri
Prithvi Velpuri

Purdue Univ. (Computer Engineering; undergrad)

2019

Search interface

Wen Du
Wen Du

Deep Time Digital Earth (IUGS)

2020- present

Data coordinator; Paleogeographic software

Sabin Zahirovic
Sabin Zahirovic

EarthByte, Univ. Sydney (professor)

2020-present

Paleogeographic software

Suyash Mishra
Suyash Mishra

Purdue Univ. (Computer Engineering; undergrad)

2020-2021

Database and Paleogeographic software

Sabrina Chang
Sabrina Chang

Purdue Univ. (Computer Engineering; undergrad)

2022-2023

Database and Paleogeographic software

Aditya Sivathanu
Aditya Sivathanu

Purdue Univ. (Computer Engineering; undergrad)

2023-2024

Paleogeographic software; Treatise linking

Ava Fasano
Ava Fasano

Purdue Univ. (Computer Engineering; undergrad)

2023-2024

GeoLex front page

Cassidy Brown
Cassidy Brown

Purdue Univ. (Computer Engineering; undergrad)

2023-2024

GeoLex front page

Samyukta Balaji
Samyukta Balaji

Purdue Univ. (Computer Engineering; undergrad)

2023-2024

GeoLex front page

Kevin Chang
Kevin Chang

Purdue Univ. (Computer Engineering; undergrad)

2023-present

Paleogeographic software