| Home » Dissemination and Capacity Strengthening » Application Programming Interface (API)  » Source of contraception by method Goto Forum:
	|  |  
	| 
		
			| Re: Source of contraception by method [message #24308 is a reply to message #24298] | Fri, 15 April 2022 16:31  |  
			| 
				
				
					|  Trevor-DHS Messages: 808
 Registered: January 2013
 | Senior Member |  |  |  
	| Yes, here are a couple of calls to the API that will return the source by method. There are a lot of separate indicators for the source, so the list gets long and browsers don't like calls of over 250 characters, so I have split the calls into a couple of different calls: 
 For public sources:
 https://api.dhsprogram.com/rest/dhs/data/FP_SRCM_W_PUB,FP_SR CM_W_GHS,FP_SRCM_W_GHC,FP_SRCM_W_GFP,FP_SRCM_W_GMB,FP_SRCM_W _GFW,FP_SRCM_W_GOT?f=html&breakdown=all
 and for private and other sources:
 https://api.dhsprogram.com/rest/dhs/data/FP_SRCM_W_PRV,FP_SR CM_W_PHS,FP_SRCM_W_PPH,FP_SRCM_W_PDR,FP_SRCM_W_PMB,FP_SRCM_W _PFW,FP_SRCM_W_POT,FP_SRCM_W_OSR,FP_SRCM_W_SHP,FP_SRCM_W_CHH ,FP_SRCM_W_FRR,FP_SRCM_W_OTH?f=html&breakdown=all
 
 The breakdown=all parameter for these indicators breaks the data down by method.
 |  
	|  |  | 
 
 
 Current Time: Fri Oct 31 16:26:20 Coordinated Universal Time 2025 |