EODAG (Earth Observation Data Access Gateway) is a command line tool and a plugin-oriented Python framework for searching, aggregating results and downloading remote sensed images while offering a unified API for data access regardless of the data provider. The EODAG SDK is structured around three functions:

  • List product types: list of supported products and their description
  • Search products (by product type) : searches products according to the search criteria provided
  • Download products : download product “as is"

EODAG is developed in Python. It is structured according to a modular plugin architecture, easily extensible and able to integrate new data providers. Three types of plugins compose the tool:

  • Catalog search plugins, responsible for searching data (OpenSearch, CSW, ...), building paths, retrieving quicklook, combining results
  • Download plugins, allowing to download and retrieve data locally (via FTP, HTTP, ..), always with the same directory organization
  • Authentication plugins, which are used to authenticate the user on the external services used (JSON Token, Basic Auth, OAUTH, ...).

Read the documentation for more insights.


EODAG is on PyPI:

python -m pip install eodag


Command line interface

Create a configuration file from the template user_conf_template.yml provided with the repository, filling in your credentials as expected by each provider (note that this configuration file is required by now. However, this will change in the future).

Then you can start playing with it:

  • To search for products and crunch the results of the search:

    eodag search \
    --conf my_conf.yml \
    --geometry 1 43 2 44 \
    --startTimeFromAscendingNode 2018-01-01 \
    --completionTimeFromAscendingNode 2018-01-31 \
    --cloudCover 20 \
    --productType S2_MSI_L1C
    --cruncher FilterLatestIntersect \
    --storage my_search.geojson

The request above search for product types S2_MSI_L1C and will crunch the result using cruncher FilterLatestIntersect and storing the overall result to my_search.geojson.

You can pass arguments to a cruncher on the command line by doing this (example with using FilterOverlap cruncher which takes minimum_overlap as argument):

eodag search -f my_conf.yml -b 1 43 2 44 -s 2018-01-01 -e 2018-01-31 -p S2_MSI_L1C \
             --cruncher FilterOverlap \
             --cruncher-args FilterOverlap minimum_overlap 10

The request above means : "Give me all the products of type S2_MSI_L1C, use FilterOverlap to keep only those products that are contained in the bbox I gave you, or whom spatial extent overlaps at least 10% (minimum_overlap) of the surface of this bbox"

  • To download the result of a previous call to search:

    eodag download --conf my_conf.yml --search-results my_search.geojson
  • To list all available product types and supported providers:

    eodag list
  • To list available product types on a specified supported provider:

    eodag list -p sobloo
  • To see all the available options and commands:

    eodag --help
  • To print log messages, add -v to eodag master command. e.g. eodag -v list. The more v given (up to 3), the more verbose the tool is.


An eodag installation can be exposed through a REST api from the command line:

# eodag serve-rest --help
Usage: eodag serve-rest [OPTIONS]

  Start eodag HTTP server

  -f, --config PATH   File path to the user configuration file with its
                      credentials  [required]
  -d, --daemon TEXT   run in daemon mode
  -w, --world         run flask using IPv4 (all network interfaces),
                      otherwise bind to (localhost). This maybe
                      necessary in systems that only run Flask  [default:
  -p, --port INTEGER  The port on which to listen  [default: 5000]
  --debug             Run in debug mode (for development purpose)  [default:
  --help              Show this message and exit.

Python API

Example usage for interacting with the api in your Python code:

from eodag import EODataAccessGateway

dag = EODataAccessGateway(user_conf_file_path='/path/to/user/conf.yaml')
product_type = 'S2_MSI_L1C'
footprint = {'lonmin': 1, 'latmin': 43.5, 'lonmax': 2, 'latmax': 44}
start, end = '2018-01-01', '2018-01-31'
search_results = dag.search(
product_paths = dag.download_all(search_results)
for path in product_paths:
    print('Downloaded : {}'.format(path))


If you intend to contribute to eodag source code:

git clone https://bitbucket.org/geostorm/eodag.git
cd eodag
python -m pip intall -r requirements-dev.txt

To run the default test suite (which excludes end-to-end tests):



You may encounter a Python RuntimeWarning saying that numpy.dtype size changed. If this is the case, you can suppress it by doing this on the command line before running the tests or eodag cli: export PYTHONWARNINGS="ignore:numpy.dtype size changed"

To only run end-to-end test:

tox -- tests.test_end_to_end

To run the entire tests (units, integraton and end-to-end):

tox -- tests eodag


Running the tox command will also build the docs. As The documentation includes some notebooks (for the turorials), the build process will need pandoc to succeed. If the build process fails for you, please install pandoc and try again.


EODAG is licensed under Apache License v2.0. See LICENSE file for details.


EODAG is developed by CS Systèmes d'Information.


EODAG is built on top of amazingly useful open source projects. See NOTICE file for details about those projects and their licenses. Thank you to all the authors of these projects !