Active.com API

API List

Note those that have "future release" listed will be released, well, in the future.

  1. Search
  2. Asset Syndication
  3. Asset Syndication Widget
  4. Active Resource
  5. Reviews (future release)
  6. Results (future release)

Search

The Active Search API processes simple HTTP GET requests.  The results are returned in a variety of formats such as xml and JSON.  The API supports keyword search against Active.com assets, result restriction to a particular location, and result filtering based on asset metadata.

URL: http://api.amp.active.com/search?{queryString params}&api_key={key}
Method: GET

Sample Request - return search results for the query "half marathon",

http://api.amp.active.com/search?k=half+marathon&v=xml&api_key=wuhmn9ye94xn3xnteudxsavw

API Parameters

v = view
The results of a search is available in several different formats.  The available values are:
   
   xml
   json
   ical
   rss

k = keywords
The free-form query to search (equivalent to what a user types in the search box on search.active.com).

examplehttp://api.amp.active.com/search?k=half+marathon&v=xml&api_key=wuhmn9ye94xn3xnteudxsavw

l = location
To narrow a search to a geographic area, use the l parameter to specify a location.  The formats available are:
    city,state,country
    postal code,country
    state,country
    postal code (US is assumed country)
    state (US is assumed country) 

example: http://api.amp.active.com/search?k=half+marathon&v=xml&l=92104&api_key=wuhmn9ye94xn3xnteudxsavw

r = radius
If a location is passed in, a radius can be specified to search as an integer.  If this parameter is not specified, the system uses the default radius of 50 miles.  For example, to limit your search to 25 miles:
http://api.amp.active.com/search?k=running&l=92104&r=25&v=xml&api_key=wuhmn9ye94xn3xnteudxsavw


m = meta
The meta filter allows filtering based on the metadata of our assets.  To filter on a metadata field, prefix meta: to the field name followed by an equal sign and then the value.  The value must be double URL encoded.  For example, to filter your search based on channel, you would specify:

http://api.amp.active.com/search?k=Fall+Classic&v=xml&m=meta:channel=Mountain%2520Biking&api_key=wuhmn9ye94xn3xnteudxsavw
    
To filter on multiple meta fields, list the meta filters separated by a space:

http://api.amp.active.com/search?k=Fall+Classic&v=xml&m=meta:channel=Mountain%2520Biking+meta:category=activities&api_key=wuhmn9ye94xn3xnteudxsavw

When multiple meta filters are passed in, an implicit AND is applied between the filters.  A boolean OR can be specified between the meta filters by using the word OR:

http://api.amp.active.com/search?k=Fall+Classic&v=xml&m=meta:channel=Mountain%2520Biking+OR+meta:channel=Cycling&api_key=wuhmn9ye94xn3xnteudxsavw
   
To exclude any assets with a meta filter, use the word NOT before the filter:

http://api.amp.active.com/search?k=Fall+Classic&v=xml&m=NOT+meta:channel=Mountain%2520Biking&api_key=wuhmn9ye94xn3xnteudxsavw

See Asset Metadata section for more information.

date range
To specify a date range, use the daterange keyword after the meta filter.  The daterange keyword takes the format of metafilter:daterange:{startDate}..{endDate}.  The startDate/endDate parameters can either be in the format of yyyy-MM-dd or a natural language word/phrase (e.g. today, tomrrow, a month from now, etc).  At least either a startDate or endDate must be specified.  

To get assets in the future:
    
http://api.amp.active.com/search?k=10k&v=xml&m=meta:startDate:daterange:today..+meta:channel=Running&api_key=wuhmn9ye94xn3xnteudxsavw
    
To get assets before November 1, 2009:
    
http://api.ampactive.com/search?k=10k&v=xml&m=meta:startDate:daterange:..11%2F01%2F2009+meta:channel=Running&api_key=wuhmn9ye94xn3xnteudxsavw
    
To get assets between March 1, 2009 and today:
    
http://api.amp.active.com/search?k=10k&v=xml&m=meta:startDate:daterange:03%2F01%2F2009..today+meta:channel=Running&api_key=wuhmn9ye94xn3xnteudxsavw

f = facets
We have several different types of data in the Search index.  To restrict a search to a particular type, use the facet parameter.  The available values are:
    activities - things like running events or camps
    results - race results from results.active.com
    training - training plans
    articles - articles on active.com and ihoops.com


s = sort
The default sort for results is by relevance.  The available values are:
    date_asc
    date_desc
    relevance

example: Sort running events by startDate, ascending-  http://api.amp.active.com/search?k=running&v=xml&s=date_asc&api_key=wuhmn9ye94xn3xnteudxsavw

num = number of results to return

The default number of results returned is 25.  To request a different amount, use this parameter with an integer as a value.  For example, to get a list of 50 results: 

examplehttp://api.amp.active.com/search?k=running&v=xml&num=50&api_key=wuhmn9ye94xn3xnteudxsavw

page = used for paging through results
To page through a result set, use the page parameter in addition to the num parameter to get the desired results page.  For example, to split the results up into pages of 50 results:

http://api.amp.active.com/search?k=running&v=xml&num=50&page=1&api_key=wuhmn9ye94xn3xnteudxsavw

To get the second page of results:
http://api.amp.active.com/search?k=running&v=xml&num=50&page=2&api_key=wuhmn9ye94xn3xnteudxsavw

Asset Metadata

The assets in our index have a large number of metadata fields associated with them.  In this section we'll cover the major metadata fields.  All the metadata fields for a particular asset are returned when requesting results in xml or json formats.

Categories - use "category" as the filter name

example: m=meta:category=training%2520plans
Valid values:

  • activities
  • articles
  • training plans


Channels - use "channel" as the filter name

example: m=meta:channel=Running
Valid values:

  • Baseball
  • Basketball
  • Cycling
  • Outdoors\Fishing
  • Football
  • Golf
  • Ice Hockey
  • Lacrosse
  • Mountain Biking
  • Running
  • Soccer
  • Softball
  • Swimming
  • Tennis
  • Triathlon
  • Volleyball
  • Walking


Media Types - use "splitMediaType" as the filter name
example: m=meta:channel=Running+meta:splitMediaType=5k

Valid Values:

when "channel=Running", i.e. "m=meta:channel=Running+meta:splitMediaType=5k"

  • Event
  • Marathon
  • Half Marathon
  • 5k
  • 10k
  • 1 mile
  • 5 mile
  • 15k
  • 10 mile
  • Ultra
  • Fun Run
  • Kids Run
  • Training Run
  • Camp
  • Clinic

when "channel=Triathlon, i.e. "m=meta:channel=Triathlon+meta:splitMediaType=Sprint"

  • Event
  • Sprint
  • Kids Triathlon
  • Olympic/International
  • Long Course
  • Camp
  • Clinic

when "channel=Cycling", i.e. "m=meta:channel=Cycling+meta:splitMediaType=Event"

  • Event

Asset Syndication

The Asset Syndication API is a REST web service, which provides read access to Active assets.  Note, this service is deprecated, and it is recommended to use the Search API instead. The service enables client applications to query Active with predefined filters. Currently, the Asset Syndication Service returns data only about Triathlon, Cycling and Running events.

Parameters

Parameter Description Mandatory/Optional
startDate1 yyyy-mm-dd  (IE 2009-01-15) Optional
endDate1 yyyy-mm-dd  (IE 2009-01-15) Optional
zip* US zip code or Canadian postal code Optional
distance* Radius in Miles from zip. Can be one of 5, 10, 25 or 50.
Optional
mediaType** e.g. Event\5k, Event\Marathon.  MediaType(s) follow the format Event\Distance.  Examples in query: mediaType=Event\5K.  Search for events with mediaType of 5K or 10K like this: mediaType=Event\5K|Event\10K.  Optionally you can encode the “\” with %5c but you don’t have to: mediaType=Event%5c5K Optional
isGeocoded boolean indicating if only geocoded assets should be returned. Optional
lastModified Returns assets where the lastModified date is greater than the value passet in.  lastModified can be specified in two formats.  You can specify a date in the format of yyyy-mm-dd or you can specify an integer.  If you specify an integer, this is translated into hours so a value of 48 will return assets whose last modified date is within the last 48 hours. Optional
dma*** Designated Market Area, i.e. "San+Diego".  A list of valid values is presented in a table below.
Optional
sort How to sort query results. Permitted values: startDate, endDate, lastModifiedDate, assetName, substitutionUrl Optional
order How to order sorted results (ascending or descending). The order filter depends on the sort filter. Permitted values: asc or desc Optional
includeTag Assets must include these Active.com administered keywords/tags.  
excludeTag Assets must not include these Active.com administered keywords/tags.  

*The proximity search requires both zip and distance.

**mediaTypes are treated as Strings, not enumerations.  The table below lists valid mediaTypes for each supported event/activity type.

***dma's are also treated as Strings.  The table called "Valid 'dma' values" has a list of the supported dmas.

1 the startDate and endDate filters must be included together; it is not possible to pass only startDate or endDate.

Sample Request

The filters are passed to the syndication service via an HTTP GET operation. Requests for the following event/activity types are supported:

  • running
  • triathlon
  • cycling
  • green (environmentally friendly)
  • tennis

And here are examples for each (all return events/activities happening in the future):

  1. All Half Marathon Events  http://api.amp.active.com/assets/running?mediaType=Event\Half Marathon&api_key=9h9kunucdnzmmct9xuseqftw
  2. Sprint Triathlons  http://api.amp.active.com/assets/triathlon?mediaType=Event\Sprint&api_key=9h9kunucdnzmmct9xuseqftw
  3. Cycling events http://api.amp.active.com/assets/cycling?api_key=9h9kunucdnzmmct9xuseqftw
  4. Environmentally friendly events http://api.amp.active.com/assets/green?api_key=9h9kunucdnzmmct9xuseqftw
  5. Tennis tournaments within 50 miles of Brooklyn, NY http://api.amp.active.com/assets/tennis?mediaType=Tournament&zip=10471&distance=50&api_key=9h9kunucdnzmmct9xuseqftw

Valid "mediaType" values per activity/event type

To get a list of all upcoming tennis classes, issue the following query using mediaType:

http://api.amp.active.com/assets/tennis?mediaType=Class&api_key=9h9kunucdnzmmct9xuseqftw

Activity/Event Type Media Types
running
  • Event
  • Event\Marathon
  • Event\Half Marathon
  • Event\5K
  • Event\10K
  • Event\1 mile
  • Event\5 mile
  • Event\15K
  • Event\10 mile
  • Event\Ultra Marathon
  • Event\Fun Run
  • Event\Kids Run
  • Event\Training Run
  • Camp
  • Clinic
triathlon
  • Event
  • Event\Sprint
  • Event\Kids Triathlon
  • Event\Olympic/International
  • Event\Long Course
  • Camp
  • Clinic
cycling N/A
tennis
  • Tournament
  • Workshop
  • Class
  • Clinic
green
  • Event
  • Event\Marathon
  • Event\Half Marathon
  • Event\5K
  • Event\10K
  • Event\1 mile
  • Event\5 mile
  • Event\15K
  • Event\10 mile
  • Event\Ultra Marathon
  • Event\Fun Run
  • Event\Kids Run
  • Event\Training Run
  • Event\Sprint
  • Event\Kids Triathlon
  • Event\Olympic/International
  • Event\Long Course
  • Camp
  • Clinic

Valid "dma" values

To get a list of all upcoming cycling events in the Denver DMA, for example, issue this query:

http://api.amp.active.com/assets/cycling?dma=Denver&api_key=9h9kunucdnzmmct9xuseqftw

Abilene - Sweetwater
Albany - Schenectady - Troy
Albany, GA
Albuquerque - Santa Fe
Alexandria, LA
Alpena
Amarillo
Anchorage
Atlanta
Augusta
Austin
Bakersfield
Baltimore
Bangor
Baton Rouge
Beaumont - Port Arthur
Bend, OR
Billings
Biloxi - Gulfport
Binghamton
Birmingham (Anniston and Tuscaloosa)
Bluefield - Beckley - Oak Hill
Boise
Boston (Manchester)
Bowling Green
Buffalo
Burlington - Plattsburgh
Butte - Bozeman
Casper - Riverton
Cedar Rapids - Waterloo & Dubuque
Champaign & Springfield - Decatur
Charleston, SC
Charleston-Huntington
Charlotte
Charlottesville
Chattanooga
Cheyenne - Scottsbluff
Chicago
Chico - Redding
Cincinnati
Clarksburg - Weston
Cleveland
Colorado Springs - Pueblo
Columbia - Jefferson City
Columbia, SC
Columbus - Tupelo - West Point
Columbus, GA
Columbus, OH
Corpus Christi
Dallas - Fort Worth
Davenport - Rock Island - Moline
Dayton
Denver
Des Moines - Ames
Detroit
Dothan
Duluth - Superior
El Paso
Elmira
Erie
Eugene
Eureka
Evansville
Fairbanks
Fargo - Valley City
Flint - Saginaw - Bay City
Florence - Myrtle Beach
Fort Myers - Naples
Fort Smith - Fayetteville - Springdale - Rogers
Fort Wayne
Fresno - Visalia
Gainesville
Glendive
Grand Junction - Montrose
Grand Rapids - Kalamazoo - Battle Creek
Great Falls
Green Bay - Appleton
Greensboro - High Point - Winston-Salem
Greenville - New Bern - Washington
Greenville - Spartanburg - Asheville - Anderson
Greenwood - Greenville
Harlingen - Weslaco - Brownsville - McAllen
Harrisburg - Lancaster - Lebanon - York
Harrisonburg
Hartford - New Haven
Hattiesburg - Laurel
Helena
Honolulu
Houston
Huntsville - Decatur (Florence)
Idaho Falls - Pocatello
Indianapolis
Jackson, MS
Jackson, TN
Jacksonville
Johnstown - Altoona
Jonesboro
Joplin - Pittsburg
Juneau
Kansas City
Knoxville
La Crosse - Eau Claire
Lafayette, IN
Lafayette, LA
Lake Charles
Lansing
Laredo
Las Vegas
Lexington
Lima
Lincoln & Hastings - Kearney
Little Rock - Pine Bluff
Los Angeles
Louisville
Lubbock
Macon
Madison
Mankato
Marquette
Medford - Klamath Falls
Memphis
Meridian
Miami - Fort Lauderdale
Milwaukee
Minneapolis - Saint Paul
Minot - Bismarck - Dickinson
Missoula
Mobile  - Pensacola (Fort Walton Beach)
Monroe - El Dorado
Monterey - Salinas
Montgomery (Selma)
Nashville
New Orleans
New York
Norfolk - Portsmouth - Newport News
North Platte
Odessa - Midland
Oklahoma City
Omaha
Orlando - Daytona Beach - Melbourne
Ottumwa - Kirksville
Paducah - Cape Girardeau - Harrisburg - Mt Vernon
Palm Springs
Panama City
Parkersburg
Peoria - Bloomington
Philadelphia
Phoenix
Pittsburgh
Portland - Auburn
Portland, OR
Presque Isle
Providence - New Bedford
Quincy - Hannibal - Keokuk
Raleigh - Durham (Fayetteville)
Rapid City
Reno
Richmond - Petersburg
Roanoke - Lynchburg
Rochester - Mason City - Austin
Rochester, NY
Rockford
Sacramento - Stockton - Modesto
Saint Joseph
Saint Louis
Salisbury
Salt Lake City
San Angelo
San Antonio
San Diego
San Francisco - Oakland - San Jose
Santa Barbara - Santa Maria - San Luis Obispo
Savannah
Seattle - Tacoma
Sherman - Ada
Shreveport
Sioux City
Sioux Falls (Mitchell)
South Bend - Elkhart
Spokane
Springfield - Holyoke
Springfield, MO
Syracuse
Tallahassee - Thomasville
Tampa - Saint Petersburg (Sarasota)
Terre Haute
Toledo
Topeka
Traverse City - Cadillac
Tri-Cities, TN-VA
Tucson (Sierra Vista)
Tulsa
Twin Falls
Tyler - Longview (Lufkin & Nacogdoches)
Utica
Victoria
Waco - Temple - Bryan
Washington DC
Watertown
Wausau - Rhinelander
West Palm Beach - Fort Pierce
Wheeling - Steubenville
Wichita - Hutchinson
Wichita Falls & Lawton
Wilkes Barre - Scranton
Wilmington
Yakima - Pasco - Richland - Kennewick
Youngstown
Yuma - El Centro
Zanesville

Escaping Filter Parameters

IBM has a good site describing how to escape special characters in URLs, check it out here.  Below are examples of common escape sequences.


Filter parameters with multiple values are separated by a pipe (|) and encoded as %7C.
Example: channel=Baseball%7Cbasketball


Values with spaces, such as 'Action Sports' are encoded with a +.
Example: channel=Action+Sports


Filter values that contain an ampersand (&) are encoded as %26.
Example: channel=Giving+%26+Fundraising


Filter values that contain a forward slash(/) are encoded as %2F.
Example: channel=Wake%2FKite%20Boarding

Sample Response

Download the XSD here.

  1. <?xml version="1.0" encoding="UTF-8"?>  
  2. <assetCollection recordcount="40">  
  3.   <asset>  
  4.     <assetId>C97CC206-7F1D-4F01-93D2-14D8A0CDE44D</assetId>  
  5.     <assetName>San Diego Rock and Roll Marathon Pasta Party</assetName>  
  6.     <category>Activities</category>  
  7.     <channel>Running</channel>  
  8.     <mediaType>Event</mediaType>  
  9.     <mediaType>Event\Marathon</mediaType>  
  10.     <participationCriteria>Family</participationCriteria>  
  11.     <onlineRegistrationAvailable>true</onlineRegistrationAvailable>  
  12.     <onlineDonationAvailable>false</onlineDonationAvailable>  
  13.     <onlineMembershipAvailable>false</onlineMembershipAvailable>  
  14.     <trackback>http://www.active.com/page/Event_Details.htm?event_id=1731739&assetId=C97CC206-7F1D-4F01-93D2-14D8A0CDE44D</trackback>  
  15.     <location>  
  16.       <locationName>Hilton San Diego Bayfront</locationName>  
  17.       <city>San Diego</city>  
  18.       <state>California</state>  
  19.       <zip>92101</zip>  
  20.       <country>United States</country>  
  21.     </location>  
  22.     <contact>  
  23.       <contactEmail>go2l@pipeline.com</contactEmail>  
  24.       <contactPhone>310-980-7788</contactPhone>  
  25.     </contact>  
  26.     <date>  
  27.       <startDate>2009-05-30</startDate>  
  28.       <startTime>17:00:00</startTime>  
  29.       <endDate>2009-05-30</endDate>  
  30.       <endTime>17:00:00</endTime>  
  31.     </date>  
  32.     <media>  
  33.       <image>http://www.active.com/images/events/hotrace.gif</image>  
  34.     </media>  
  35.   </asset>  
  36.   <asset>  
  37.     <assetId>23DA56A6-4A72-41D5-9B28-05FC1F17A027</assetId>  
  38.     <assetName>Kevin Test Marathon</assetName>  
  39.     <category>Activities</category>  
  40.     <channel>Running</channel>  
  41.     <mediaType>Event</mediaType>
  42.     <participationCriteria>Adult</participationCriteria>  
  43.     <onlineRegistrationAvailable>true</onlineRegistrationAvailable>  
  44.     <onlineDonationAvailable>false</onlineDonationAvailable>  
  45.     <onlineMembershipAvailable>false</onlineMembershipAvailable>  
  46.     <trackback>http://www.active.com/page/Event_Details.htm?event_id=1434160&assetId=23DA56A6-4A72-41D5-9B28-05FC1F17A027</trackback>  
  47.     <location>  
  48.       <locationName>San Diego</locationName>  
  49.       <city>San Diego</city>  
  50.       <state>California</state>  
  51.       <zip>92103</zip>  
  52.       <country>United States</country>  
  53.       <latitude>32.7469</latitude>  
  54.       <longitude>-117.1664</longitude>  
  55.     </location>  
  56.     <contact>  
  57.       <contactEmail>kevin.burke@active.com</contactEmail>  
  58.       <contactPhone>858-555-5555</contactPhone>  
  59.     </contact>  
  60.     <date>  
  61.       <startDate>2009-08-30</startDate>  
  62.       <startTime>9:00:00</startTime>  
  63.       <endDate>2009-08-10</endDate>  
  64.       <endTime>9:00:00</endTime>  
  65.     </date>  
  66.     <media>  
  67.       <image>http://www.active.com/images/events/hotrace.gif</image>
  68.     </media>  
  69.   </asset>  
  70. </assetCollection>  
<?xml version="1.0" encoding="UTF-8"?>
<assetCollection>
    <asset>
        <assetId>1cd49ffe-1621-4717-a7fe-0fdcdc2dcfdc</assetId>
        <assetName>Mt. Rainier Baseball - Babe Ruth / Cal Ripken</assetName>
        <category>Activities</category>
        <channel>Baseball</channel>
        <channel>SoftballPitch</channel>
        <mediaType>Tournament</mediaType>
        <summary>...</summary>
        <allText>...</allText>
        <participationCriteria>Youth</participationCriteria>
        <onlineRegistrationAvailable>true</onlineRegistrationAvailable>
        <onlineDonationAvailable>false</onlineDonationAvailable>
        <onlineMembershipAvailable>false</onlineMembershipAvailable>
        <trackback>http://www.active.com/page/Event_Details.htm?event_id=1488458</trackback>
        <location>
            <city>Enumclaw</city>
            <state>Washington</state>
            <zip>98022</zip>
            <country>United States</country>
        </location>
        <contact>
            <contactEmail>support@playmrba.org</contactEmail>
            <contactPhone>1-888-643-MRBA</contactPhone>
        </contact>
        <date>
            <startDate>2008-03-01</startDate>
            <startTime>0:00:00</startTime>
            <endDate>2008-06-01</endDate>
            <endTime>0:00:00</endTime>
        </date>        
        <media>
            <image>http://www.active.com/images/events/hotrace.gif</image>
            <image>http://www.active.com/images/upimages/mrba_logo_sm.jpg</image>
        </media>
    </asset>
</assetCollection>

Expires HTTP Header:

The Expires entity-header field gives the date/time after which the response is considered stale. Each service response will include an expires header. The response will not change before the header value is past.

Example Expires Header:
Expires: Sat, 24 May 2008 01:47:08 GMT

http://www.w3.org/Protocols/rfc2616/rfc2616-sec14.html (See 14.21 Expires)

Asset Syndication Widget

The Asset Syndication API might be complex for a less technical developer to consume.  We've created a generic Asset Syndication Widget that makes it easy to incorporate Active.com assets on a website.  This widget queries the Search API and exposes query parameters as JSON objects.  But you must apply for an Asset Syndication API key to use this widget.

Embed Code

<script type="text/javascript">
TAN_Syndication_title = "Running Events in San Diego";    
TAN_Syndication_filter = {f: 'Activities', startDate: 'tomorrow..', channel: 'Running', num: 10, l: 92109, r: 25, s: 'date_asc'};
</script>
<script type="text/javascript" src="http://api.amp.active.com/widgets/assets?api_key={api_key}"></script>

Parameters
TAN_Syndication_title - changes the title at the top of the widget
TAN_Syndication_filter - used to specify Asset Syndication API filters here in JSON format. Note "category" should always have a value of "Activities".

Also, the Asset Syndication API access key granted by Active.com must be copied into the {api_key} placeholder within the embed code.

Sample


Note the example above also makes use of custom, inline styles using CSS hooks created by the widget.  The idea here is to provide access for UI developers to add their UI magic.  These hooks are:

TAN_container
TAN_container_wrapper
TAN_container_header
TAN_container_content

And here's the embed code illustrating how the example is configured

<style>
.TAN_container {
    margin:0 0 1.12em;
    overflow:hidden;
    background: transparent url(http://api.active.com/widgets/assets/images/default/container/TAN_container_topleft.gif) no-repeat top left;}
.TAN_container * {margin:0; padding:0;}
.TAN_container .bold {font-weight:bold;}
.TAN_container .clear:after {
    content:"."; 
    display:block; 
    height:0; 
    clear:both; 
    visibility:hidden;} 
.TAN_container .clear {display: inline-block;} 
* html .clear {height: 1%;} 
.TAN_container .clear {display: block;}
.TAN_container_wrapper {
    background: transparent url(http://api.active.com/widgets/assets/images/default/container/TAN_container_bottomleft.gif) no-repeat bottom left;}
.TAN_container_header {
    background: transparent url(http://api.active.com/widgets/assets/images/default/container/TAN_container_topright.gif) no-repeat top right;
    padding:0.69em 0.69em 1em;}
.TAN_container_header h3 {
    font-size:1.2em;
    text-transform:lowercase;
    color:#0E4273;}
.event{margin-top:8px;}
.TAN_container_content {
    padding:.69em;
    background: transparent url(http://api.active.com/widgets/assets/images/default/container/TAN_container_bottomright.gif) no-repeat bottom right;}

</style>

<div style="width:400px">
    <script type="text/javascript">
    TAN_Syndication_title = "Running Events in San Diego";    
    TAN_Syndication_filter = {f: 'Activities', startDate: 'tomorrow..', channel: 'Running', num: 10, l: 92109, r: 25, s: 'date_asc'};    
    TAN_Syndication_newWindow = false;    
    </script>
    <script type="text/javascript" src="http://api.amp.active.com/widgets/assets?api_key=9h9kunucdnzmmct9xuseqftw"></script>
</div>


Resources

Active Resource API

active.com is host to a registration engine through which Event Directors create events, such as marathons or 10ks, and participants sign up for them.  Event details are displayed in HTML on active.com, such as this page for the Callaway Gardens Marathon.  Event data can also be retrieved programmatically through the Active Resource API.

This API is also useful when additional data about an asset returned by the Asset Syndication API is needed.  A query to this API might return a list of cycling events in Denver, for example, and a query to the Active Resource API for a given assetId returned in that list will return the desired "extended" information.

URL: http://api.amp.active.com/resource/regcenter/event/{eventId}?api_key={key} or

http://api.amp.active.com/resource/assetservice/asset/{assetId}?api_key={key}

Parameters

  • eventId (mandatory for the regcenter/event permutation): the id for the event.  this can be parsed from the queryString of the event details web page, i.e. http://www.active.com/page/Event_Details.htm?event_id=1609028.
  • assetId (mandatory for the assetservice/assete permutation): the id for the asset (assets are more generic than events - an event is only one asset type).  The assetId is embedded as a meta tag in the event detais HTML.  It is also returned by the Asset Syndication API.
  • key (mandatory): the API access key provided by active.com.

Method: GET

Sample Request

http://api.amp.active.com/resource/regcenter/event/1609028?api_key=u2hcu6p5qvwksr54gdz9rppz

http://api.amp.active.com/resource/assetservice/asset/a8799ed2-f44f-427b-9c58-ee30e9766887?api_key=u2hcu6p5qvwksr54gdz9rppz

Sample Response

  1. <event>  
  2.    <assetID>a8799ed2-f44f-427b-9c58-ee30e9766887</assetID>  
  3.    <eventID>1609028</eventID>  
  4.    <eventName> Callaway Gardens Marathon (USATF certified) A great "Boston" qualifier</eventName>  
  5.    <eventDate>2009-01-25T00:00:00-08:00</eventDate>  
  6.    <eventLocation> Callaway Gardens Resort Preserve - Robin Lake Beach</eventLocation>  
  7.    <eventCity>Pine Mountain</eventCity>  
  8.    <eventState>Georgia</eventState>  
  9.    <eventZip>31822</eventZip>  
  10.    <eventCountry>USA</eventCountry>  
  11.    <eventDescription>  <b>BRIEF DESCRIPTION</b><br>The Marathon and Half Marathon are run on the same cour...</eventDescription>  
  12.    <usatSanctioned>false</usatSanctioned>  
  13.    <regOnline>true</regOnline>  
  14.    <eventCloseDate>2009-01-23T21:00:00-08:00</eventCloseDate>  
  15.    <eventFees>Marathon - 55.00 by 1/18 - 65.00 thereafter</eventFees>  
  16.    <currencyCode>USD</currencyCode>  
  17.    <eventTypeID>7</eventTypeID>  
  18.    <hasEventResults>true</hasEventResults>  
  19.    <hasMetaResults>true</hasMetaResults>  
  20.    <showMap>false</showMap>  
  21.    <eventType>7</eventType>  
  22.    <eventContactEmail>eventsdj@aol.com</eventContactEmail>  
  23.    <eventContactPhone>770-565-5208</eventContactPhone>  
  24.    <channels>  
  25.       <channel>  
  26.          <channelName>Running</channelName>  
  27.          <primaryChannel>true</primaryChannel>  
  28.       </channel>  
  29.       <channel>  
  30.          <channelName>Walking</channelName>  
  31.          <primaryChannel>false</primaryChannel>  
  32.       </channel>  
  33.    </channels>  
  34.    <metaEvents>  
  35.       <event>  
  36.          <assetID>290fbdcc-5cda-4401-955b-8417ea9d7fa2</assetID>  
  37.          <eventID>1468673</eventID>  
  38.          <eventName> Callaway Gardens Marathon  (USATF certified)  A great "Boston" qualifier</eventName>  
  39.          <eventDate>2008-01-27T00:00:00-08:00</eventDate>  
  40.          <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=1468673 </eventDetailsPageUrl>  
  41.       </event>  
  42.       <event>  
  43.          <eventID>1370797</eventID>  
  44.          <eventName>Callaway Gardens Marathon</eventName>  
  45.          <eventDate>2007-01-28T00:00:00-08:00</eventDate>  
  46.          <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=1370797 </eventDetailsPageUrl>  
  47.       </event>  
  48.       <event>  
  49.          <eventID>1429188</eventID>  
  50.          <eventName>Callaway Gardens Marathon</eventName>  
  51.          <eventDate>2007-01-28T00:00:00-08:00</eventDate>  
  52.          <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=1429188 </eventDetailsPageUrl>  
  53.       </event>  
  54.       <event>  
  55.          <eventID>1406099</eventID>  
  56.          <eventName>Callaway Gardens Marathon</eventName>  
  57.          <eventDate>2004-02-01T00:00:00-08:00</eventDate>  
  58.          <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=1406099 </eventDetailsPageUrl>  
  59.       </event>  
  60.       <event>  
  61.          <assetID>23d4b32c-8643-438b-bdb7-9d26ce8a059d</assetID>  
  62.          <eventID>149792</eventID>  
  63.          <eventName>Callaway Gardens Marathon & Half-Marathon or 5K</eventName>  
  64.          <eventDate>2000-02-06T00:00:00-08:00</eventDate>  
  65.          <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=149792 </eventDetailsPageUrl>  
  66.       </event>  
  67.    </metaEvents>  
  68.    <eventCategories/>  
  69.    <eventDetails/>  
  70.    <eventDonationLinks/>  
  71.    <eventSanctions/>  
  72.    <eventUrl>http://www.callawaygardens.com</eventUrl>  
  73.    <resultsUrl> http://results.active.com/pages/page.jsp?pubID=3&eventID=1609028 </resultsUrl>  
  74.    <eventDetailsPageUrl> http://www.active.com/page/Event_Details.htm?event_id=1609028 </eventDetailsPageUrl>  
  75.    <eventContactUrl> http://www.active.com/event_contact.cfm?event_id=1609028 </eventContactUrl>  
  76. </event>  
<event>
<assetID>a8799ed2-f44f-427b-9c58-ee30e9766887</assetID>
<eventID>1609028</eventID>
<eventName>
Callaway Gardens Marathon (USATF certified) A great "Boston" qualifier
</eventName>
<eventDate>2009-01-25T00:00:00-08:00</eventDate>
<eventLocation>
Callaway Gardens Resort Preserve - Robin Lake Beach
</eventLocation>
<eventCity>Pine Mountain</eventCity>
<eventState>Georgia</eventState>
<eventZip>31822</eventZip>
<eventCountry>USA</eventCountry>
<eventDescription>
<b>BRIEF DESCRIPTION:</b><br>  The Marathon and Half Marathon are run on the same course.  One loop for the Half Marathon and two loops for the Marathon.  Run entirely within the resort on the most beautiful course that you'll ever run!  Past the Butterfly Center, Discovery Center, Sibley Horticultural Center, the Chapel, Brothers Azalea Bowl and The Vegtable Garden.  If you've never run at Callaway Gardens you've got a real treat coming to you!<br>

The 5K is around Robin Lake - flat and very fast!<p>



<b>FEES:</b><br>  Marathon - 55.00 by 1/18 - 65.00 thereafter<br>

<p>







<b>CATEGORIES:</b><br>  14-under - 15-19 in five year increments up to 70+ for all three races - male/female<p>





<b>TIME:  </b><br>8:00AM  Marathon & Half Marathon<p>

         



<b>VENUE: </b><br> Callaway Gardens Resort Preserve- Pine Mountain, GA<p>



<b>ADDRESS: </b><br> Pine Mountain, Georgia 31822<p>

<b>CALLAWAY

GARDENS RESORT PRESERVE</b><br>

The 2008 Marathon and Half Marathon is USATF certified.





<b>AWARDS: </b><br> Plaques to top 5 finishers in the Marathon - Long sleeve t-shirts to all finishers<p>



<b>PRE-RACE:</b><br>  Saturday, January 24th - noon to 5PM at the Menaboni Center - Mountain Creek Inn.  Packet Pick-up AND LATE REGISTRATION.

<p>



<b>HOTEL ACCOMMODATIONS:  </b><br>Mountain Creek Inn (host hotel) 800-282-8181 ask for the "Fitness Series" rate.  Other Callaway Gardens accommodations include the new Lodge and Spa @ Callaway, the Cottages and Villas @ Callaway.<p>



<b>DIRECTIONS: </b><br> From Atlanta take I-85 south to I-185.  Take I-185 south to exit 42 (Hwy 27).  Go left on Hwy 27 to Pine Mountain.  Go one mile past Pine Mountain on Hwy 27 to Callaway Gardens on your right.
</eventDescription>
<usatSanctioned>false</usatSanctioned>
<regOnline>true</regOnline>
<eventCloseDate>2009-01-23T21:00:00-08:00</eventCloseDate>
<eventFees>Marathon - 55.00 by 1/18 - 65.00 thereafter</eventFees>
<currencyCode>USD</currencyCode>
<eventTypeID>7</eventTypeID>
<hasEventResults>true</hasEventResults>
<hasMetaResults>true</hasMetaResults>
<showMap>false</showMap>
<eventType>7</eventType>
<eventContactEmail>eventsdj@aol.com</eventContactEmail>
<eventContactPhone>770-565-5208</eventContactPhone>
<channels>
<channel>
<channelName>Running</channelName>
<primaryChannel>true</primaryChannel>
</channel>
<channel>
<channelName>Walking</channelName>
<primaryChannel>false</primaryChannel>
</channel>
</channels>
<metaEvents>
<event>
<assetID>290fbdcc-5cda-4401-955b-8417ea9d7fa2</assetID>
<eventID>1468673</eventID>
<eventName>
Callaway Gardens Marathon  (USATF certified)  A great "Boston" qualifier
</eventName>
<eventDate>2008-01-27T00:00:00-08:00</eventDate>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=1468673	
</eventDetailsPageUrl>
</event>
<event>
<eventID>1370797</eventID>
<eventName>Callaway Gardens Marathon</eventName>
<eventDate>2007-01-28T00:00:00-08:00</eventDate>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=1370797	
</eventDetailsPageUrl>
</event>
<event>
<eventID>1429188</eventID>
<eventName>Callaway Gardens Marathon</eventName>
<eventDate>2007-01-28T00:00:00-08:00</eventDate>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=1429188	
</eventDetailsPageUrl>
</event>
<event>
<eventID>1406099</eventID>
<eventName>Callaway Gardens Marathon</eventName>
<eventDate>2004-02-01T00:00:00-08:00</eventDate>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=1406099	
</eventDetailsPageUrl>
</event>
<event>
<assetID>23d4b32c-8643-438b-bdb7-9d26ce8a059d</assetID>
<eventID>149792</eventID>
<eventName>Callaway Gardens Marathon & Half-Marathon or 5K</eventName>
<eventDate>2000-02-06T00:00:00-08:00</eventDate>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=149792	
</eventDetailsPageUrl>
</event>
</metaEvents>
<eventCategories/>
<eventDetails/>
<eventDonationLinks/>
<eventSanctions/>
<eventUrl>http://www.callawaygardens.com</eventUrl>
<resultsUrl>
http://results.active.com/pages/page.jsp?pubID=3&eventID=1609028
</resultsUrl>
<eventDetailsPageUrl>
http://www.active.com/page/Event_Details.htm?event_id=1609028	
</eventDetailsPageUrl>
<eventContactUrl>
http://www.active.com/event_contact.cfm?event_id=1609028
</eventContactUrl>
</event>

Reviews (future release)

Events (and virtually any asset type for that matter) can be rated and reviewed on active.com (similar to how Yelp works for restaurants).  This API provides programmatic access to read reviews for a given asset.

URL: http://api.amp.active.com/ratingsandreviews/asset/{assetId}?api_key={key}

Parameters

  • assetId (mandatory): the id of the asset.
  • key (mandatory): the API access key provided by active.com.

Method: GET

Sample Request:

http://api.amp.active.com/ratingsandreviews/asset/175A278B-BFF7-41F0-9CA4-64FD541860DC?api_key=qabux5f7pwywsaf7zvwtdjqb

Sample Response:

  1. <asset>  
  2.    <avgRating>4.0</avgRating>  
  3.    <totalRatings>2</totalRatings>  
  4.    <totalReviews>2</totalReviews>  
  5.    <hasUserReviewed>false</hasUserReviewed>  
  6.    <reviews>
  7.       <review>  
  8.          <attachmentCount>0</attachmentCount>  
  9.          <body>Was a good turn out.  lots of fun.</body>  
  10.          <communityID>2523</communityID>  
  11.          <dateReviewed>2009-03-27T16:51:34.917-07:00</dateReviewed>  
  12.          <forumThreadID>56512</forumThreadID>  
  13.          <ID>565052</ID>  
  14.          <imageCount>0</imageCount>
  15.          <rating>  
  16.             <assetID>175a278b-bff7-41f0-9ca4-64fd541860dc</assetID>  
  17.             <averageRating>4</averageRating>  
  18.             <dateRated>2009-03-27T23:51:32.957-07:00</dateRated>  
  19.             <numberOfRatings>2</numberOfRatings>  
  20.             <rating>4</rating>  
  21.             <ratingID>4680</ratingID>  
  22.             <userID>3635c434-09bd-4cab-85a5-a675ee779add</userID>  
  23.          </rating>  
  24.          <subject>Re: 2009 Rodes City Run 10K Reviews</subject>  
  25.          <user>  
  26.             <ausDisplayName>JeremyGThomas</ausDisplayName>  
  27.             <ausID>3635c434-09bd-4cab-85a5-a675ee779add</ausID>  
  28.             <avatar> http://community.active.com/people/JeremyGThomas/avatar/48.png</avatar>  
  29.          </user>  
  30.       </review>  
  31.       <review>  
  32.          <dateReviewed>2009-01-26T23:39:59-08:00</dateReviewed>  
  33.          <rating>  
  34.             <assetID>175a278b-bff7-41f0-9ca4-64fd541860dc</assetID>  
  35.             <averageRating>4</averageRating>  
  36.             <dateRated>2009-01-26T23:39:59.397-08:00</dateRated>  
  37.             <numberOfRatings>2</numberOfRatings>  
  38.             <rating>4</rating>  
  39.             <ratingID>3332</ratingID>  
  40.             <userID>2d5e8f70-ab80-4283-aa25-47b772902f65</userID>  
  41.          </rating>  
  42.          <user>  
  43.             <ausDisplayName>sthakur1</ausDisplayName>  
  44.             <ausID>2d5e8f70-ab80-4283-aa25-47b772902f65</ausID>  
  45.             <avatar> http://community.active.com/people/sthakur1/avatar/48.png</avatar>  
  46.          </user>  
  47.       </review>  
  48.    </reviews>  
  49. </asset>  
<asset>
<avgRating>4.0</avgRating>
<totalRatings>2</totalRatings>
<totalReviews>2</totalReviews>
<hasUserReviewed>false</hasUserReviewed>
−
<reviews>
−
<review>
<attachmentCount>0</attachmentCount>
<body>Was a good turn out.  lots of fun.</body>
<communityID>2523</communityID>
<dateReviewed>2009-03-27T16:51:34.917-07:00</dateReviewed>
<forumThreadID>56512</forumThreadID>
<ID>565052</ID>
<imageCount>0</imageCount>
−
<rating>
<assetID>175a278b-bff7-41f0-9ca4-64fd541860dc</assetID>
<averageRating>4</averageRating>
<dateRated>2009-03-27T23:51:32.957-07:00</dateRated>
<numberOfRatings>2</numberOfRatings>
<rating>4</rating>
<ratingID>4680</ratingID>
<userID>3635c434-09bd-4cab-85a5-a675ee779add</userID>
</rating>
<subject>Re: 2009 Rodes City Run 10K Reviews</subject>
−
<user>
<ausDisplayName>JeremyGThomas</ausDisplayName>
<ausID>3635c434-09bd-4cab-85a5-a675ee779add</ausID>
−
<avatar>
http://community.active.com/people/JeremyGThomas/avatar/48.png
</avatar>
</user>
</review>
−
<review>
<dateReviewed>2009-01-26T23:39:59-08:00</dateReviewed>
−
<rating>
<assetID>175a278b-bff7-41f0-9ca4-64fd541860dc</assetID>
<averageRating>4</averageRating>
<dateRated>2009-01-26T23:39:59.397-08:00</dateRated>
<numberOfRatings>2</numberOfRatings>
<rating>4</rating>
<ratingID>3332</ratingID>
<userID>2d5e8f70-ab80-4283-aa25-47b772902f65</userID>
</rating>
−
<user>
<ausDisplayName>sthakur1</ausDisplayName>
<ausID>2d5e8f70-ab80-4283-aa25-47b772902f65</ausID>
−
<avatar>
http://community.active.com/people/sthakur1/avatar/48.png
</avatar>
</user>
</review>
</reviews>
</asset>

Results (future release)

Returns a list of hyperlinks to results pages for a given event, as well as those for previous occurences of the event.  For example, if the Callaway Gardens Marathon occurred in 2009, 2008 and 2007, a query to get the link for the 2009 results would return that plus those from 2008 and 2007.  Additionally, if the event had "sub-events" meaning is longest distance is marathon, but also had a half marathon and a 10k, links to results for the subevents for each year will also be included.

URL: http://api.amp.active.com/results/event/{eventId}?api_key={key}

Parameters

  • eventId(mandatory): unique identifier for the event.  The eventId can be pulled from the URL of the event page.  The URL for the Callaway Gardens Marathon, for example, is http://www.active.com/page/Event_Details.htm?event_id=1609028, and the eventId would be 1609028 in this case.
  • key (mandatory): the API access key provided by active.com.

Method: GET

Sample Request:

http://api.amp.active.com/results/event/1609028?api_key=qabux5f7pwywsaf7zvwtdjqb

Sample Response:

  1. <event>  
  2.    <eventID>1609028</eventID>  
  3.    <years>  
  4.       <year>  
  5.          <year>2009</year>  
  6.          <resultSubs>  
  7.             <resultSub>  
  8.                <eventID>1609028</eventID>  
  9.                <url>http://results.active.com/page/displayNonGru.jsp?pubID=3&rsID=74832 </url>  
  10.                <name>Callaway Gardens Marathon</name>  
  11.                <type>xls</type>  
  12.                <date>2009-01-25T00:00:00-08:00</date>  
  13.             </resultSub>  
  14.          </resultSubs>  
  15.       </year>  
  16.       <year>  
  17.       <year>2008</year>  
  18.       <resultSubs>  
  19.          <resultSub>  
  20.             <eventID>1468673</eventID>  
  21.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51177 </url>  
  22.             <name>Marathon</name>  
  23.             <type>txt</type>  
  24.             <date>2008-01-27T00:00:00-08:00</date>  
  25.          </resultSub>  
  26.          <resultSub>  
  27.             <eventID>1468673</eventID>  
  28.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51179 </url>  
  29.             <name>Age Groups</name>  
  30.             <type>txt</type>  
  31.             <date>2008-01-27T00:00:00-08:00</date>  
  32.          </resultSub>  
  33.          <resultSub>  
  34.             <eventID>1468673</eventID>  
  35.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51181 </url>  
  36.             <name>5K</name>  
  37.             <type>txt</type>  
  38.             <date>2008-01-27T00:00:00-08:00</date>  
  39.          </resultSub>  
  40.          <resultSub>  
  41.             <eventID>1468673</eventID>  
  42.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51182 </url>  
  43.             <name>5K Age</name>  
  44.             <type>txt</type>  
  45.             <date>2008-01-27T00:00:00-08:00</date>  
  46.          </resultSub>  
  47.          <resultSub>  
  48.             <eventID>1468673</eventID>  
  49.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51183 </url>  
  50.             <name>Half Marathon</name>   
  51.             <type>txt</type>  
  52.             <date>2008-01-27T00:00:00-08:00</date>  
  53.          </resultSub>  
  54.          <resultSub>  
  55.             <eventID>1468673</eventID>  
  56.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51184 </url>  
  57.             <name>Half Marathon Age</name>  
  58.             <type>txt</type>  
  59.             <date>2008-01-27T00:00:00-08:00</date>  
  60.          </resultSub>  
  61.       </resultSubs>  
  62.    </year>  
  63.    <year>  
  64.       <year>2007</year>  
  65.       <resultSubs>  
  66.          <resultSub>  
  67.             <eventID>1370797</eventID>  
  68.             <url> http://results.active.com/pages/searchform.jsp?pubID=3&rsID=33523 </url>  
  69.             <name>MAR</name>  
  70.             <type>gru</type>  
  71.             <date>2007-01-28T00:00:00-08:00</date>  
  72.          </resultSub>  
  73.          <resultSub>  
  74.             <eventID>1429188</eventID>  
  75.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41754 </url>  
  76.             <name>5K</name>  
  77.             <type>txt</type>  
  78.             <date>2007-01-28T00:00:00-08:00</date>  
  79.          </resultSub>  
  80.          <resultSub>  
  81.             <eventID>1429188</eventID>  
  82.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41755 </url>  
  83.             <name>half</name>  
  84.             <type>txt</type>  
  85.             <date>2007-01-28T00:00:00-08:00</date>  
  86.          </resultSub>  
  87.          <resultSub>  
  88.             <eventID>1429188</eventID>  
  89.             <url> http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41756 </url>  
  90.             <name>marathon</name>  
  91.             <type>txt</type>  
  92.             <date>2007-01-28T00:00:00-08:00</date>  
  93.          </resultSub>  
  94.       </resultSubs>  
  95.    </year>    
  96.  </years>  
  97. </event>  
<event>
   <eventID>1609028</eventID>
   <years>
      <year>
      <year>2009</year>
      <resultSubs>
         <resultSub>
            <eventID>1609028</eventID>
            <url>http://results.active.com/page/displayNonGru.jsp?pubID=3&rsID=74832
</url>
<name>Callaway Gardens Marathon</name>
<type>xls</type>
<date>2009-01-25T00:00:00-08:00</date>
</resultSub>
</resultSubs>
</year>
<year>
<year>2008</year>
<resultSubs>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51177
</url>
<name>Marathon</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51179
</url>
<name>Age Groups</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51181
</url>
<name>5K</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51182
</url>
<name>5K Age</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51183
</url>
<name>Half Marathon</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1468673</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=51184
</url>
<name>Half Marathon Age</name>
<type>txt</type>
<date>2008-01-27T00:00:00-08:00</date>
</resultSub>
</resultSubs>
</year>
<year>
<year>2007</year>
<resultSubs>
<resultSub>
<eventID>1370797</eventID>
<url>
http://results.active.com/pages/searchform.jsp?pubID=3&rsID=33523
</url>
<name>MAR</name>
<type>gru</type>
<date>2007-01-28T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1429188</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41754
</url>
<name>5K</name>
<type>txt</type>
<date>2007-01-28T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1429188</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41755
</url>
<name>half</name>
<type>txt</type>
<date>2007-01-28T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1429188</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=41756
</url>
<name>marathon</name>
<type>txt</type>
<date>2007-01-28T00:00:00-08:00</date>
</resultSub>
</resultSubs>
</year>
<year>
<year>2004</year>
<resultSubs>
<resultSub>
<eventID>1406099</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=20718
</url>
<name>age</name>
<type>txt</type>
<date>2004-02-01T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1406099</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=20719
</url>
<name>half</name>
<type>txt</type>
<date>2004-02-01T00:00:00-08:00</date>
</resultSub>
<resultSub>
<eventID>1406099</eventID>
<url>
http://results.active.com/pages/displayNonGru.jsp?pubID=3&rsID=20720
</url>
<name>5K</name>
<type>txt</type>
<date>2004-02-01T00:00:00-08:00</date>
</resultSub>
</resultSubs>
</year>
</years>
</event>
<GeoAddress>  
   <Street>10182 Telesis Ct</Street>  
   <City>San Diego</City>  
   <StateCode>CA</StateCode>  
   <ZipCode>92121-2719</ZipCode>  
   <Latitude>32.901733</Latitude>  
   <Longitude>-117.207844</Longitude>  
   <Precision>address</Precision>  
</GeoAddress>  

Comments

  1. Chris Reynolds5 months ago

    Can anyone tell me how to get this API URL (http://api.amp.active.com/assets/running?zip=60544&distance=25&api_key=9h9kunucdnzmmct9xuseqftw) into a RSS feed format?

Please sign in to post a comment.