Provider Specific

API endpoints to query provider specific data.

Provider Info

GET https://api.stats.golem.network/v1/provider/node/:yagna_id

Returns the providers data.

Path Parameters

Name
Type
Description

yagna_id

string

The providers yagna id. Can be retrieved by running yagna id show

[{"earnings_total": 0.22861210333482437, "node_id": "0x7c618383a113bb1ad5b8c5fa16cd384cb282ae90", "data": {"id": "0x7c618383a113bb1ad5b8c5fa16cd384cb282ae90", "wallet": "0xdb2b90b6947a749fccf38d10e29f92f0ed23e45e", "golem.com.scheme": "payu", "golem.inf.mem.gib": 5.23383766412735, "golem.node.id.name": "obfunk-haze", "golem.runtime.name": "vm", "golem.inf.cpu.cores": 2, "golem.inf.cpu.model": "Stepping 7 Family 6 Model 42", "golem.inf.cpu.vendor": "GenuineIntel", "golem.inf.cpu.threads": 4, "golem.inf.storage.gib": 19.038113403320313, "golem.runtime.version": "0.2.0", "golem.com.usage.vector": ["golem.usage.duration_sec", "golem.usage.cpu_sec"], "golem.com.pricing.model": "linear", "golem.node.debug.subnet": "public-beta", "golem.inf.cpu.architecture": "x86_64", "golem.inf.cpu.capabilities": ["sse3", "pclmulqdq", "dtes64", "monitor", "dscpl", "vmx", "smx", "eist", "tm2", "ssse3", "cmpxchg16b", "pdcm", "pcid", "sse41", "sse42", "x2apic", "popcnt", "tsc_deadline", "aesni", "xsave", "osxsave", "avx", "fpu", "vme", "de", "pse", "tsc", "msr", "pae", "mce", "cx8", "apic", "sep", "mtrr", "pge", "mca", "cmov", "pat", "pse36", "clfsh", "ds", "acpi", "mmx", "fxsr", "sse", "sse2", "ss", "htt", "tm", "pbe"], "golem.srv.caps.multi-activity": true, "golem.com.scheme.payu.interval_sec": 120.0, "golem.activity.caps.transfer.protocol": ["http", "gftp", "https"], "golem.com.pricing.model.linear.coeffs": [5.555555555555556e-06, 0.0001388888888888889, 0.0], "golem.com.payment.debit-notes.accept-timeout?": 240, "golem.com.payment.platform.erc20-mainnet-glm.address": "0xdb2b90b6947a749fccf38d10e29f92f0ed23e45e", "golem.com.payment.platform.zksync-mainnet-glm.address": "0xdb2b90b6947a749fccf38d10e29f92f0ed23e45e"}, "online": true, "updated_at": "2021-06-10T20:36:26.127062+02:00", "created_at": "2021-06-08T20:54:34.951232+02:00"}]

Provider Earnings Past n Hours

GET https://api.stats.golem.network/v1/provider/node/:yagna_id/earnings/:hours

Returns the total amount of GLM earned the past n hours.

Path Parameters

Name
Type
Description

hours

number

The number of hours to receiving earnings from.

yagna_id

string

The providers yagna id. Can be retrieved by running yagna id show

{"earnings": "0"}

Provider Compute Activity

GET https://api.stats.golem.network/v1/provider/node/:yagna_id/activity

Returns a series of datapoints with a UNIX timestamp and a 0 or 1 value that represents if the provider was computing or not. 0 = Not computing 1 = Computing

Path Parameters

Name
Type
Description

yagna_id

string

The providers yagna id. Can be retrieved by running yagna id show

Provider Total Tasks computed

GET https://api.stats.golem.network/v1/provider/node/:yagna_id/total/computed

Returns the total amount of tasks computed.

Path Parameters

Name
Type
Description

yagna_id

string

The providers yagna id. Can be retrieved by running yagna id show

Provider Total Amount of Seconds Computed

GET https://api.stats.golem.network/v1/provider/node/:yagna_id/total/computed/seconds

Returns the total amount of seconds the provider has spent computing.

Path Parameters

Name
Type
Description

yagna_id

string

The providers yagna id. Can be retrieved by running yagna id show

See providers linked to a specific wallet

GET https://api.stats.golem.network/v1/provider/wallet/:wallet

Returns an array of all providers that has a specified wallet linked to it.

Path Parameters

Name
Type
Description

wallet

string

A wallet address funds go into.

Last updated

Was this helpful?