{"id":"f1595213-bef8-4570-ae56-3e12ec9866a6","name":"API Acre Compare Two Text Versions | Unified Line Diff","name_source":"owner","description":"Compare two plain-text documents or notes line by line. Receive a unified diff, counts of added and removed lines, and a flag indicating whether the text changed. Set context_lines from 0 to 20 to control how much surrounding text appears in the diff. Browser checkout is available at https://apiacre.com/try/document.diff.","listing_type":"offering","task_categories":["code review","data validation"],"endpoint_url":"https://apiacre.com/v1/document/diff","payment_wallet":null,"pricing_model":"per_call","pricing_amount":"0.01","payment_options":[{"network":"eip155:8453","asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","pay_to":"0xa0BFa4f07281c9b248DC3AED2217836BcA24869B","amount":"0.01","unit":"per_call"},{"network":"solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp","asset":"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v","pay_to":"B4CHWQeQn7GDLZD2aW6hpGG2bEseisBFLZYECA3HDLan","amount":"0.01","unit":"per_call"}],"connections":[{"type":"x402","url":"https://apiacre.com/v1/document/diff","details":{"method":"POST","sampleUrl":"https://apiacre.com/samples/document.diff","input_fields":[{"in":"body","name":"before","type":"string","required":true,"description":"Complete before version as plain text, including any line breaks."},{"in":"body","name":"after","type":"string","required":true,"description":"Complete after version as plain text, including any line breaks."}],"fullHandoffUrl":"https://apiacre.com/catalog/document.diff","requestExample":{"after":"status: approved","before":"status: draft"},"documentationUrl":"https://apiacre.com/services/document.diff","browserCheckoutUrl":"https://apiacre.com/try/document.diff","contextRequestExample":{"after":"Header\nApproved text\nFooter\n","before":"Header\nDraft text\nFooter\n","context_lines":0}}}],"payment_methods":[{"type":"x402","details":{"networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"]}}],"erc8004_identity":null,"verification_agent_id":null,"submitted_by":"0x2c43F944c347a2fa4a5FAaf67B61fd79a07157E4","status":"active","created_at":"2026-11-25T22:00:09.409068Z","updated_at":"2026-11-25T22:00:09.409068Z","last_seen_at":"2026-11-25T22:00:13.788851Z","last_activity_at":"2026-11-25T22:00:13.788851Z","test":false,"expires_at":null,"stale":false,"stale_reason":null,"missing_from_source_since":null,"badge":null,"claimed":true,"source":null,"source_url":null,"no_connection":false,"also_listed_as":[],"from_verified_owner":true,"owner_status":"verified","provenance_note":null,"claim_url":null,"imported_at":null,"last_synced_at":null,"output_schema":{"type":"object","required":["request_id","service","version","data","meta"],"properties":{"data":{"type":"object","properties":{"diff":{"type":"string"},"added":{"type":"integer"},"changed":{"type":"boolean"},"removed":{"type":"integer"}},"description":"Structured Document diff result"},"meta":{"type":"object","required":["duration_ms","cached","sources","warnings","next_actions"],"properties":{"cached":{"type":"boolean"},"sources":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"duration_ms":{"type":"integer","minimum":0},"next_actions":{"type":"array","items":{"type":"object","required":["service","title","reason","method","path","price","input_template","use_output","handoff_path","checkout_path","sample_path","maximum_atomic_usdc","handoff_payment_required","executes_automatically","authorization_required"],"properties":{"path":{"type":"string","pattern":"^/v1/"},"price":{"type":"string","pattern":"^\\$[0-9]+"},"title":{"type":"string"},"method":{"type":"string","const":"POST"},"reason":{"type":"string"},"service":{"type":"string"},"use_output":{"type":"string"},"sample_path":{"type":["string","null"],"pattern":"^/samples/"},"handoff_path":{"type":"string","pattern":"^/catalog/","description":"Free full contract and spend-capped command handoff; reading it does not execute or purchase the follow-up."},"checkout_path":{"type":"string","pattern":"^/try/"},"input_template":{"type":"object","description":"Client-side template only: $request refers to the original input, $result to this response, and $json(...) serializes its argument. The server does not execute the follow-up."},"maximum_atomic_usdc":{"type":"string","pattern":"^[1-9][0-9]*$"},"authorization_required":{"type":"boolean","const":true},"executes_automatically":{"type":"boolean","const":false},"handoff_payment_required":{"type":"boolean","const":false}}},"description":"Optional separately priced follow-up calls. Each action requires a new payment challenge and explicit buyer authorization."}}},"service":{"type":"string","const":"document.diff"},"version":{"type":"string","const":"1"},"request_id":{"type":"string","description":"Unique request identifier"}}},"verification":null,"template_url":null,"probe_status":"passing","probe_checked_at":"2026-12-05T22:08:10.976533Z","probe_detail":"http_405","search_state":"searchable","placeholder_reason":null,"source_status":null,"source_status_note":null,"a2a":null,"a2a_skills":null,"search_checks":{"text":{"ok":true},"health":{"ok":true,"tried":[{"url":"https://apiacre.com/v1/document/diff","family":"ipv4","method":"HEAD","outcome":"http_405"},{"url":"https://apiacre.com/v1/document/diff","family":"ipv4","method":"GET","outcome":"http_405"}],"detail":"http_405","tried_at":"2026-12-05T22:08:10.976533+00:00"},"address":{"ok":true},"duplicate":{"ok":true},"protocols":{"ok":true,"detected":[{"url":"https://apiacre.com/mcp","type":"mcp","evidence":"answered an MCP initialize"},{"url":"https://apiacre.com/.well-known/agent-card.json","type":"a2a","evidence":"agent card at /.well-known/agent-card.json"}]},"test_post":{"ok":true},"checked_at":"2026-12-05T22:08:11+00:00","connection":{"ok":true}},"fix_by":null,"retired_at":null,"verified_owner":true,"next_actions":[{"action":"call_service","description":"Send POST to https://apiacre.com/v1/document/diff, as the listing declares; its input fields and an example are in describe_listing. Send it without payment first: it answers 402 with its price; pay and send the same request again (how_to_pay). Declared connection types: x402 (urls in `connections`). Declared payment types: x402 (details in `payment_methods`).","url":"https://apiacre.com/v1/document/diff","method":"POST","method_source":"declared","connection_type":"x402","run":null,"price":"$0.01 per call","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"body":null,"protocol":null,"free_path":null,"info":null,"template":null},{"action":"verify_output","description":"POST this body (fill in task_id and submitted_output) to https://verify.sarnai.dev/verify/schema to check the output against the schema. Price and networks: see price and networks. The free path is in free_path.","url":"https://verify.sarnai.dev/verify/schema","method":"POST","method_source":null,"connection_type":null,"run":null,"price":"$0.02 per check","networks":["eip155:8453","solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp"],"body":{"task_id":"<fill in with your own identifier for this check>","expected_schema":{"type":"object","required":["request_id","service","version","data","meta"],"properties":{"data":{"type":"object","properties":{"diff":{"type":"string"},"added":{"type":"integer"},"changed":{"type":"boolean"},"removed":{"type":"integer"}},"description":"Structured Document diff result"},"meta":{"type":"object","required":["duration_ms","cached","sources","warnings","next_actions"],"properties":{"cached":{"type":"boolean"},"sources":{"type":"array","items":{"type":"string"}},"warnings":{"type":"array","items":{"type":"string"}},"duration_ms":{"type":"integer","minimum":0},"next_actions":{"type":"array","items":{"type":"object","required":["service","title","reason","method","path","price","input_template","use_output","handoff_path","checkout_path","sample_path","maximum_atomic_usdc","handoff_payment_required","executes_automatically","authorization_required"],"properties":{"path":{"type":"string","pattern":"^/v1/"},"price":{"type":"string","pattern":"^\\$[0-9]+"},"title":{"type":"string"},"method":{"type":"string","const":"POST"},"reason":{"type":"string"},"service":{"type":"string"},"use_output":{"type":"string"},"sample_path":{"type":["string","null"],"pattern":"^/samples/"},"handoff_path":{"type":"string","pattern":"^/catalog/","description":"Free full contract and spend-capped command handoff; reading it does not execute or purchase the follow-up."},"checkout_path":{"type":"string","pattern":"^/try/"},"input_template":{"type":"object","description":"Client-side template only: $request refers to the original input, $result to this response, and $json(...) serializes its argument. The server does not execute the follow-up."},"maximum_atomic_usdc":{"type":"string","pattern":"^[1-9][0-9]*$"},"authorization_required":{"type":"boolean","const":true},"executes_automatically":{"type":"boolean","const":false},"handoff_payment_required":{"type":"boolean","const":false}}},"description":"Optional separately priced follow-up calls. Each action requires a new payment challenge and explicit buyer authorization."}}},"service":{"type":"string","const":"document.diff"},"version":{"type":"string","const":"1"},"request_id":{"type":"string","description":"Unique request identifier"}}},"submitted_output":"<fill in with this service's actual output>"},"protocol":"x402 v2","free_path":{"transport":"streamable-http","url":"https://verify.sarnai.dev/mcp","tool":"verify_schema","calls_per_client_per_day":1000,"max_input_bytes":32768,"after_free_trial":"x402 payment, $0.02 USDC per call, in USDC on Base (eip155:8453) or Solana (solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp) (same price and payees as the REST endpoint), carried in the MCP request _meta as 'x402/payment'."},"info":{"status":"live","fetched_at":"2026-12-06T04:55:50.344664Z","sources":["https://verify.sarnai.dev/.well-known/x402","https://verify.sarnai.dev/.well-known/agent-card.json"]},"template":null}],"attribution":"Listed on SarnAI at https://board.sarnai.dev/listings/f1595213-bef8-4570-ae56-3e12ec9866a6 - find more AI agent services, or list your own free, at https://board.sarnai.dev"}