Linden Lab Official:Live Data Feeds

From Second Life Wiki
Jump to navigation Jump to search

Homepage stats feed

XML feed

http://secondlife.com/xmlhttp/secondlife.php

Example Response:

<stats> 
     <status>ONLINE</status> 
     <signups>18,072,648</signups> 
     <logged_in_last_60>1,404,640</logged_in_last_60> 
     <transactions>3,065,550</transactions> 
     <inworld>38,836</inworld> 
 </stats>
Parameter Data type Description
status string ONLINE when the grid is online. (What other values are presented?)
signups comma delimited integer number of Resident accounts that are open and in good standing; updated daily
looged_in_last_60 comma delimited integer number of Resident accounts that have logged in in the past 60 days; updated daily
transactions comma delimited integer amount of resident-to-resident L$ transactions for past 24 hours divided by the average LindeX exchange rate for past 24 hours; updated every 30 minutes
inworld comma delimited integer number of Resident accounts currently logged in; updated every 3 minutes

LLSD feed

http://secondlife.com/xmlhttp/homepage.php

Each key pair has additional dates associated indicating when the data was updated in UNIX time and SL time (Pacific Time).

Example:

<llsd> 
 	<map> 
 		<key>stats</key> 
 		<map> 
 			<key>signups</key> 
 			<integer>18072841</integer> 
 			<key>signups_updated_unix</key> 
 			<integer>1265100902</integer> 
 			<key>signups_updated_slt</key> 
 			<string>2010-02-02 00:55:02</string> 
 			<key>logged60</key> 
 			<integer>1404640</integer> 
 			<key>logged60_updated_unix</key> 
 			<integer>1265097599</integer> 
 			<key>logged60_updated_slt</key> 
 			<string>2010-02-01 23:59:59</string> 
 			<key>transactions_us$</key> 
 			<integer>3065694</integer> 
 			<key>transactions_us$_updated_unix</key> 
 			<integer>1265100936</integer> 
 			<key>transactions_us$_updated_slt</key> 
 			<string>2010-02-02 00:55:36</string> 
 			<key>transactions_us$_freshness_unix</key> 
 			<integer>1265097624</integer> 
 			<key>transactions_us$_freshness_slt</key> 
 			<string>2010-02-02 00:00:24</string> 
 			<key>inworld</key> 
 			<integer>38574</integer> 
 			<key>inworld_updated_unix</key> 
 			<integer>1265100605</integer> 
 			<key>inworld_updated_slt</key> 
 			<string>2010-02-02 00:50:05</string> 
 		</map> 
 	</map> 
 </llsd>
Parameter Data type Description
signups integer number of Resident accounts that are open and in good standing; updated daily
signups_updated_unix integer UNIX time stamp when signups value was last updated.
signups_updated_slt date time stamp when signups value was last updated in Pacific Time.
logged60 integer number of Resident accounts that have logged in in the past 60 days; updated daily
logged60_updated_unix integer UNIX time stamp when logged60 value was last updated.
logged60_updated_slt date time stamp when logged60 value was last updated in Pacific Time.
transactions_us$ integer amount of US currency traded as resident-to-resident L$ transactions for past 24 hours divided by the average LindeX exchange rate for past 24 hours; updated every 30 minutes
transactions_us$_updated_unix integer UNIX time stamp when transactions_us$ value was last updated.
transactions_us$_updated_slt date time stamp when transactions_us$ value was last updated in Pacific Time.
inworld integer number of Resident accounts currently logged in; updated every 3 minutes
inworld_updated_unix integer UNIX time stamp when inworld value was last updated.
inworld_updated_slt date time stamp when inworld value was last updated in Pacific Time.

Text Feed

Newline-seperated key-value pairs, with timestamps (for llHTTPRequest())

http://secondlife.com/httprequest/homepage.php

Key Pairs are delimited by new lines. Each key pair has additional dates associated indicating when the data was updated in UNIX time and SL time (Pacific Time).

Example:

signups_updated_slt
2010-02-02 00:55:02
signups_updated_unix
1265100902
signups
18072841
logged60_updated_unix
1265097599
logged60_updated_slt
2010-02-01 23:59:59
logged60
1404640
exchange_rate_updated_slt
2010-02-02 01:03:28
exchange_rate_updated_unix
1265101408
exchange_rate
262.2055
transactions_l$_updated_unix
1265101255
transactions_l$_updated_slt
2010-02-02 01:00:55
transactions_l$_freshness_slt
2010-02-02 01:00:55
transactions_l$_freshness_unix
1265101255
transactions_l$
787268477
inworld_updated_unix
1265101209
inworld_updated_slt
2010-02-02 01:00:09
inworld
38489
transactions_us$
3002486
transactions_us$_updated_unix
1265101408
transactions_us$_updated_slt
2010-02-02 01:03:28
transactions_us$_freshness_unix
1265101255
transactions_us$_freshness_slt
2010-02-02 01:00:55


Parameter Data type Description
signups_updated_slt date time stamp when signups value was last updated in Pacific Time.
signups_updated_unix integer UNIX time stamp when signups value was last updated.
signups integer number of Resident accounts that are open and in good standing; updated daily
logged60_updated_unix integer UNIX time stamp when logged60 value was last updated.
logged60_updated_slt date time stamp when logged60 value was last updated in Pacific Time.
logged60 integer number of Resident accounts that have logged in in the past 60 days; updated daily
exchange_rate_updated_slt date time stamp when exchange_rate value was last updated in Pacific Time.
exchange_rate_updated_unix integer UNIX time stamp when exchange_rate value was last updated.
exchange_rate float Average number of L$ that 1 US$ can purchase.
transactions_l$_updated_unix integer UNIX time stamp when transactions_l$ value was last updated.
transactions_l$_updated_slt date time stamp when transactions_l$ value was last updated in Pacific Time.
transactions_l$_freshness_slt date time stamp when transactions_l$ value was last updated in Pacific Time.
transactions_l$_freshness_unix integer UNIX time stamp when transactions_l$ value was last updated.
transactions_l$ integer amount of L$ traded as resident-to-resident transactions for past 24 hours; updated every 30 minutes
inworld_updated_unix integer UNIX time stamp when inworld value was last updated.
inworld_updated_slt date time stamp when inworld value was last updated in Pacific Time.
inworld integer number of Resident accounts currently logged in; updated every 3 minutes
transactions_us$ integer amount of US currency traded as resident-to-resident L$ transactions for past 24 hours divided by the average LindeX exchange rate for past 24 hours; updated every 30 minutes
transactions_us$_updated_unix integer UNIX time stamp when transactions_us$ value was last updated.
transactions_us$_updated_slt date time stamp when transactions_us$ value was last updated in Pacific Time.
transactions_us$_freshness_unix integer UNIX time stamp when transactions_us$ value was last updated.
transactions_us$_freshness_slt date time stamp when transactions_us$ value was last updated in Pacific Time.

LindeX data feeds

LLSD feed

http://secondlife.com/xmlhttp/lindex.php

Example:

<llsd> 
	<map> 
		<key>stats</key> 
		<map> 
			<key>last_updated_unix</key> 
			<integer>1265102153</integer> 
			<key>last_updated_slt</key> 
			<string>2010-02-02 01:15:53</string> 
 
 
			<key>limit_buy_to_limit_sell</key> 
			<map> 
				<key>1_hour</key> 
				<map> 
					<key>min_rate</key> 
					<integer>0</integer> 
					<key>max_rate</key> 
					<integer>0</integer> 
					<key>l$_volume</key> 
					<integer>0</integer> 
					<key>us$_volume</key> 
					<float>0.00</float> 
				</map> 
				<key>1_day</key> 
				<map> 
					<key>min_rate</key> 
					<integer>259</integer> 
					<key>max_rate</key> 
					<integer>269</integer> 
					<key>l$_volume</key> 
					<integer>107679</integer> 
					<key>us$_volume</key> 
					<float>409.06</float> 
				</map> 
				<key>today</key> 
				<map> 
					<key>min_rate</key> 
					<integer>0</integer> 
					<key>max_rate</key> 
					<integer>0</integer> 
					<key>l$_volume</key> 
					<integer>0</integer> 
					<key>us$_volume</key> 
					<float>0.00</float> 
				</map> 
			</map> 
			<key>market_buy</key> 
			<map> 
				<key>1_hour</key> 
				<map> 
					<key>min_rate</key> 
					<integer>259</integer> 
					<key>max_rate</key> 
					<integer>260</integer> 
					<key>l$_volume</key> 
					<integer>1681958</integer> 
					<key>us$_volume</key> 
					<float>6476.66</float> 
				</map> 
				<key>1_day</key> 
				<map> 
					<key>min_rate</key> 
					<integer>259</integer> 
					<key>max_rate</key> 
					<integer>268</integer> 
					<key>l$_volume</key> 
					<integer>75386206</integer> 
					<key>us$_volume</key> 
					<float>290519.80</float> 
				</map> 
				<key>today</key> 
				<map> 
					<key>min_rate</key> 
					<integer>259</integer> 
					<key>max_rate</key> 
					<integer>260</integer> 
					<key>l$_volume</key> 
					<integer>2252570</integer> 
					<key>us$_volume</key> 
					<float>8674.93</float> 
				</map> 
			</map> 
			<key>limit_buy</key> 
			<map> 
				<key>best_10_percent</key> 
				<map> 
					<key>l$_offered</key> 
					<integer>45217317</integer> 
					<key>min_rate</key> 
					<integer>269</integer> 
					<key>max_rate</key> 
					<integer>295</integer> 
				</map> 
			</map> 
			<key>market_sell</key> 
			<map> 
				<key>1_hour</key> 
				<map> 
					<key>min_rate</key> 
					<integer>268</integer> 
					<key>max_rate</key> 
					<integer>269</integer> 
					<key>l$_volume</key> 
					<integer>566660</integer> 
					<key>us$_volume</key> 
					<float>2111.89</float> 
				</map> 
				<key>1_day</key> 
				<map> 
					<key>min_rate</key> 
					<integer>263</integer> 
					<key>max_rate</key> 
					<integer>269</integer> 
					<key>l$_volume</key> 
					<integer>31952607</integer> 
					<key>us$_volume</key> 
					<float>118893.52</float> 
				</map> 
				<key>today</key> 
				<map> 
					<key>min_rate</key> 
					<integer>268</integer> 
					<key>max_rate</key> 
					<integer>269</integer> 
					<key>l$_volume</key> 
					<integer>711410</integer> 
					<key>us$_volume</key> 
					<float>2650.43</float> 
				</map> 
			</map> 
			<key>limit_sell</key> 
			<map> 
				<key>best_10_percent</key> 
				<map> 
					<key>l$_offered</key> 
					<integer>128164597</integer> 
					<key>min_rate</key> 
					<integer>235</integer> 
					<key>max_rate</key> 
					<integer>260</integer> 
				</map> 
			</map> 
		</map> 
	</map> 
 </llsd>

Text feed

Newline-separated key-value pairs for llHTTPRequest()

http://secondlife.com/httprequest/lindex.php

The LindeX feeds are updated every 15 minutes and include one set of timestamps.

Source