API Parameter Quick Guide

Use the below parameters to filter your queries to the AidData API.

Quick Guide

NameParameter ExampleAIDGISFLOWSDATA
Sourcesrc

src=1,2,3,4,5,6,7,3249668 // All of Aid Data


src=6,7 // OECD CRS


src=9 // Aid Management Platforms (AMPs)


src=8 // International Aid Transparency Initiative (IATI)

 XXX 

Number of records

number of results to return for API calls that return arrays.

sizesize=10 XXXX

Text filter

A rough keyword filter starting at the begining. (-1 char length)

termterm=World Bank XXXX

Starting record

The starting position in the array to return. For API calls that return arrays.

fromfrom=10 XXXX

Transaction Type

(if in doubt use 1)

t

t=1 // commitments

t=4 // disbursments

http://api.aiddata.org/aid/stats?t=1XXX 

Year

Filter to a particular year, or multiple years

y

y=1992,1996

 

// Projects from year 1992 or 1996

http://api.aiddata.org/aid/project?y=1992,1990

XXX 

Funding Group

Use /data/origin/groups API to find your options.

fg

fg=110593697, 110593749

// Commitments from Middle East and South America in 2010

http://api.aiddata.org/aid/stats?t=1&y=2010&fg=110593697,110593749

XXX 

Funding Organization

Use /data/origin/organizations API to find your options.

fo

fo=17,20

// Commitments from Finland and IADB

http://api.aiddata.org/aid/stats?t=1&fo=17,20

XXX 

Provider

Use /data/origin/providers API to find your options.

oo=22,25

// Projects with commitments from IDA and IFC

http://api.aiddata.org/aid/project?t=1&o=22,25

XX  

Receiver Region

Use /data/destination/groups API to find your options.

rgrg=110593622

// Projects with commitments to Europe

http://api.aiddata.org/aid/project?t=1&rg=110593622

XX  

Receiver Country/Organization

Use /data/destination/organizations API to find your options.

ro

ro=5,8

// Projects with commitments to Australia and Canada

http://api.aiddata.org/aid/project?t=1&ro=5,8

XX  

Receiver

Use /data/receivers API to find your options.

rr=3

// Projects with commitments to 
Asian Development Bank (ASDB)

http://api.aiddata.org/aid/project?t=1&r=3

XX  

Sector code (3 digit sector)

Use /data/sectors/3 API to find your options.

sg

// Use the code, not the id

sg=311,313 

// Projects with commitments related to Agriculture and Fishing funding

http://api.aiddata.org/aid/project?t=1&sg=311,313

 X  

Purpose Code (5 digit classification)

Use /data/sectors/5 API to find your options.

s

// Use the code, not the id

s=14082,31330

// Projects with commitments related to Water Research and Fishing Development funding

http://api.aiddata.org/aid/project?t=1&s=14082

 X  

Activity Code(7 Digit Clasification)

Use /data/sectors/7 API to find your options.

a

// Use the code, not the id

a=31320.04

// Projects with commitments related to Aquaculture funding

http://api.aiddata.org/aid/project?t=1&a=31320.04

 X  
Commitment Rangecf/ct


cf=1000 // Min commitment ammount

ct=1000000 // Max commitment amount

  X  
Disbursements Rangedf/dt
 
  X  


Geo Bounding BoxExtend
gExtend

gExtend:true,
top_left_lat:21.4,

top_left_lon:-78.3,

bottom_right_lat:17.32,

bottom_right_lon:-57.45

 

  X  
Geo Distance
 
gDistance

distance: 200,

unit:”km”

center: [-71.34, 41.12]

  X